dragonfly.git
13 years agoFictitious VM pages must remain structurally stable after free.
Matthew Dillon [Mon, 20 Nov 2006 20:53:06 +0000 (20:53 +0000)]
Fictitious VM pages must remain structurally stable after free.

13 years agoAdd minimal umodem(4) manual page.
Sascha Wildner [Mon, 20 Nov 2006 19:57:03 +0000 (19:57 +0000)]
Add minimal umodem(4) manual page.

Taken-from: FreeBSD

13 years agoUpdate for OpenSSH-4.5p1, and add some upgrade notes.
Peter Avalos [Mon, 20 Nov 2006 17:25:35 +0000 (17:25 +0000)]
Update for OpenSSH-4.5p1, and add some upgrade notes.

13 years agoRemove files no longer in vendor's distribution.
Peter Avalos [Mon, 20 Nov 2006 17:22:14 +0000 (17:22 +0000)]
Remove files no longer in vendor's distribution.

13 years agoUpdate build for OpenSSH-4.5p1.
Peter Avalos [Mon, 20 Nov 2006 17:15:46 +0000 (17:15 +0000)]
Update build for OpenSSH-4.5p1.

13 years agoMerge from vendor branch OPENSSH:
Peter Avalos [Mon, 20 Nov 2006 17:11:41 +0000 (17:11 +0000)]
Merge from vendor branch OPENSSH:
Import OpenSSH 4.5p1.

13 years agoImport OpenSSH 4.5p1.
Peter Avalos [Mon, 20 Nov 2006 17:11:41 +0000 (17:11 +0000)]
Import OpenSSH 4.5p1.

13 years agoRework rt2661 TX interrupts processing
Sepherosa Ziehau [Mon, 20 Nov 2006 15:03:26 +0000 (15:03 +0000)]
Rework rt2661 TX interrupts processing

The Clues: [1]
"TX DMA Done Interrupt":
A frame has been DMAed to ASIC, probably stored in an ASIC internal
TX FIFO.  The TX descriptor and the resource in host memory are useless
to ASIC

"TX Done Interrupt":
The transfering of a frame, which probably is from ASIC internal TX
FIFO, is done by ASIC, and the information concerning this transfering
is available

The Problems:
- The original driver reduces TX ring occupation counter on "TX Done
  Interrupt", though TX descriptors and related resources are already
  reaped on "TX DMA Done Interrupt"
- For some (maybe all ;-) ASIC, "TX Done Interrupt" comes less frequent
  than "TX DMA Done Interrupt", probably due to the "ASIC internal TX
  FIFO", or just because it is not intended to be used in the original
  driver's way ;-)

So useless TX descriptors slowly occupy TX ring and result in an almost
full TX ring at the most of the time if new frames keep coming at high
rate (e.g. during a long time scp(1))

The Fixes:
- Move rate control context out of rt2661_tx_data, so it is not 1:1 mapping
  with TX descriptor.  This degenerates rt2661_tx_data to rt2661_rx_data,
  so merge them and rename the new structure rt2661_data
- Add a rate control context queue, which temporarily holds rate control
  contexts for each data transfering
- Allocate the rate control context on fly during rt2661_tx_data().  Since
  this context is allocated using M_NOWAIT, it is possible that the
  alloctation fails.  if this happens, later rate control information will
  not be gathered (I think this is acceptable :-) and the reference to the
  ieee80211_node is freed immediately at the end of rt2661_tx_data().

After above three changes reaping of TX descriptors and related resources no
longer needs to be synchronized with rate control information gathering.

- Change the meaning of rt2661_tx_desc.qid, it now indicates whether rate
  control information needs to be gathered (it is not necessary at all for
  control/management frames)
- On "TX DMA Done Interrupt" instead of on "TX Done Interrupt", if some TX
  descriptors and related resources are reaped, reduce TX ring occupation
  counter, and kick ifnet.if_start

As of this commit, my Edimax EW-7608PG can tranfer data stably [2] without
being choked half way.

#
# [1] These clues are infered from a comment concering TX descriptor
#     structure in Linux RT61 driver
# [2] Though data tranfering is quite stable, its performance is still
#     far from expectation.  In infrastructured mode, 3 meters away from
#     the AP, I only got 6Mbits/s - 7Mbits/s, but under the same conditions
#     receiving performance is quite OK (~20Mbits/s)
#

13 years agoWe aren't using the asm files so store this in the Attic.
Peter Avalos [Mon, 20 Nov 2006 06:26:44 +0000 (06:26 +0000)]
We aren't using the asm files so store this in the Attic.

13 years agoRemove files no longer used.
Peter Avalos [Mon, 20 Nov 2006 06:08:43 +0000 (06:08 +0000)]
Remove files no longer used.

13 years agoUpdate READMEs for latest import.
Peter Avalos [Mon, 20 Nov 2006 06:07:18 +0000 (06:07 +0000)]
Update READMEs for latest import.

13 years agoThe ":R" operator is never needed after ":S/./_/g", which replaces
YONETANI Tomokazu [Mon, 20 Nov 2006 06:00:40 +0000 (06:00 +0000)]
The ":R" operator is never needed after ":S/./_/g", which replaces
dots with underscores, removing any "suffixes" from the string.

13 years agoUpgrade to OpenSSL 0.9.8d
Peter Avalos [Mon, 20 Nov 2006 05:31:54 +0000 (05:31 +0000)]
Upgrade to OpenSSL 0.9.8d

13 years agoMerge from vendor branch OPENSSL:
Peter Avalos [Mon, 20 Nov 2006 05:16:00 +0000 (05:16 +0000)]
Merge from vendor branch OPENSSL:
Import OpenSSL 0.9.8d.

13 years agoImport OpenSSL 0.9.8d.
Peter Avalos [Mon, 20 Nov 2006 05:16:00 +0000 (05:16 +0000)]
Import OpenSSL 0.9.8d.

13 years agoDocument pentium-m support
Victor Balada Diaz [Sun, 19 Nov 2006 22:17:04 +0000 (22:17 +0000)]
Document pentium-m support

Reported-by: TGEN
13 years agoAdd support for pentium-m CPUs.
Victor Balada Diaz [Sun, 19 Nov 2006 22:04:19 +0000 (22:04 +0000)]
Add support for pentium-m CPUs.

13 years agoFix typo.
Sascha Wildner [Sun, 19 Nov 2006 20:24:04 +0000 (20:24 +0000)]
Fix typo.

Reported-by: Robin Carey <robin_carey5@yahoo.co.uk>
13 years agoifconfig manpage upgrade:
Sascha Wildner [Sun, 19 Nov 2006 16:45:05 +0000 (16:45 +0000)]
ifconfig manpage upgrade:

* Bring in all relevant changes from FreeBSD.

* Add tentative/-tentative and deprecated/-deprecated documentation from
  NetBSD.

* Document the autoconf/-autoconf, powersavemode, compress, normal and
  noicmp parameters.

* Add ifmedia(4) reference.

* mdoc(7) cleanup

Reviewed-and-helped-by: sephe
13 years agoNuke redundant declaration of 'nfs_diskless_valid'
Sepherosa Ziehau [Sun, 19 Nov 2006 14:40:00 +0000 (14:40 +0000)]
Nuke redundant declaration of 'nfs_diskless_valid'

13 years agoDon't append extra _H in forward headers' guardian, since
Sepherosa Ziehau [Sun, 19 Nov 2006 14:36:53 +0000 (14:36 +0000)]
Don't append extra _H in forward headers' guardian, since
sys/cpu/i386/misc/atomic.c depends on *exact* _MACHINE_ATMOIC_H_ to
create necessary atomic_*_*() symbols for modules to use.

13 years ago- Add kern.fwd.mk to generate forward headers for missing machine/*.h
Sepherosa Ziehau [Sun, 19 Nov 2006 07:49:34 +0000 (07:49 +0000)]
- Add kern.fwd.mk to generate forward headers for missing machine/*.h
  It avoids unnecessary regeneration of forward headers by default, thus
  quickkernel is speedy again :)
- Nuke no longer needed generate_forwarding_headers() in config(8)
- Add forward headers generation to the dependency list of "beforedepend"
  in kmod.mk.  This unbreaks module building which does not happen along
  with kernel building.

The original patch was submitted by y0netan1@, changes made to the original
patch are OKed by him too.

Reviewed-by: dillon@ corecode@
13 years agoAdd stge(4).
Sascha Wildner [Sat, 18 Nov 2006 10:01:04 +0000 (10:01 +0000)]
Add stge(4).

13 years agoan, awi, cue and kue don't use the miibus interface.
Sascha Wildner [Sat, 18 Nov 2006 10:00:19 +0000 (10:00 +0000)]
an, awi, cue and kue don't use the miibus interface.

13 years ago- Cleanup #includes
Sepherosa Ziehau [Sat, 18 Nov 2006 09:41:29 +0000 (09:41 +0000)]
- Cleanup #includes
- Add missing '\n'

13 years agoDon't turn on TX_BUSY (rt2560/rt2661) or TX_CIPHER_BUSY (rt2560) before TX
Sepherosa Ziehau [Sat, 18 Nov 2006 09:26:43 +0000 (09:26 +0000)]
Don't turn on TX_BUSY (rt2560/rt2661) or TX_CIPHER_BUSY (rt2560) before TX
descriptor is fully setup.

13 years agoCorrect layout of RT2661_TXRX_CSR4
Sepherosa Ziehau [Sat, 18 Nov 2006 06:46:19 +0000 (06:46 +0000)]
Correct layout of RT2661_TXRX_CSR4

Obtained-from: Linux RT61 driver

#
# Result of:
# ping -c 100 -i 0.1 -s 1300 192.168.3.2
#
# Before this commit
# --- 192.168.3.2 ping statistics ---
# 100 packets transmitted, 37 packets received, 63% packet loss
# round-trip min/avg/max/stddev = 1.578/1.844/3.113/0.310 ms
#
# After this commit
# --- 192.168.3.2 ping statistics ---
# 100 packets transmitted, 100 packets received, 0% packet loss
# round-trip min/avg/max/stddev = 2.043/2.894/4.514/0.529 ms
#
# Maybe "63% packet loss" should be taken as "this card works well" :-P
#

13 years agoProperly setup Link/Act LED for rt2x61 chips.
Sepherosa Ziehau [Sat, 18 Nov 2006 04:13:39 +0000 (04:13 +0000)]
Properly setup Link/Act LED for rt2x61 chips.

LED EEPROM configures and LED MCU data/command layout are obtained from
Linux RT61 driver (the reference driver?).

# This makes my Edimax EW-7608PG(rt2661d) LED shining as expected.

13 years agoReflect reality.
Sascha Wildner [Sat, 18 Nov 2006 01:06:34 +0000 (01:06 +0000)]
Reflect reality.

Taken-from: FreeBSD

13 years agoFix references.
Sascha Wildner [Fri, 17 Nov 2006 23:23:05 +0000 (23:23 +0000)]
Fix references.

13 years agoFix .Xr abuse.
Sascha Wildner [Fri, 17 Nov 2006 23:01:21 +0000 (23:01 +0000)]
Fix .Xr abuse.

13 years agounresolve the vnode associated with the namecache entry for a mount point
Matthew Dillon [Fri, 17 Nov 2006 22:20:31 +0000 (22:20 +0000)]
unresolve the vnode associated with the namecache entry for a mount point
before trying to set a new vnode.  This avoids a panic if you are CD'd into
a mount point before the mount occurs.

13 years agoDisable use of wide char functions for mkmagic.nx, a host tool. This
Simon Schubert [Thu, 16 Nov 2006 23:46:53 +0000 (23:46 +0000)]
Disable use of wide char functions for mkmagic.nx, a host tool.  This
unbreaks buildworld for pre-citrus machines (1.2-RELEASE).

Reported-by: Thomas E. Spanjaard
13 years agoChange to ${.CURDIR} before generating miidevs.h
Sepherosa Ziehau [Thu, 16 Nov 2006 14:02:13 +0000 (14:02 +0000)]
Change to ${.CURDIR} before generating miidevs.h

This unbreaks miidevs.h regeneration if sys/dev/netif/mii_layer has an
object directory.

Thank joerg@ to shed light on the obscure awk error.

13 years agoAdd manpage for stge(4)
Sepherosa Ziehau [Thu, 16 Nov 2006 13:50:05 +0000 (13:50 +0000)]
Add manpage for stge(4)

Obtained-from: NetBSD (with changes)
Reviewed-by: swildner@
13 years ago- Add stge(4) for Sundance/Tamarack TC9021 Gigabit Ethernet chip.
Sepherosa Ziehau [Thu, 16 Nov 2006 13:43:55 +0000 (13:43 +0000)]
- Add stge(4) for Sundance/Tamarack TC9021 Gigabit Ethernet chip.
  It supports following cards:
    o  Antares Microsystems Gigabit Ethernet
    o  ASUS NX1101 Gigabit Ethernet
    o  D-Link DGE-550T Gigabit Ethernet
    o  IC Plus IP1000A Gigabit Ethernet
    o  Sundance ST-2021 Gigabit Ethernet
    o  Sundance ST-2023 Gigabit Ethernet
    o  Sundance TC9021 Gigabit Ethernet
    o  Tamarack TC9021 Gigabit Ethernet
- Add PHY module for IC Plus IP1000A integrated PHY, which may be used
  by some on-board stge(4)
- Hook stge(4) into GENERIC and LINT

Obtained-from: FreeBSD (yongari@freebsd.org)

13 years agoregen
Sepherosa Ziehau [Thu, 16 Nov 2006 13:37:43 +0000 (13:37 +0000)]
regen

13 years agoAdd ids for Marvell 88e3082 and IC PLUS IP1000A
Sepherosa Ziehau [Thu, 16 Nov 2006 13:37:21 +0000 (13:37 +0000)]
Add ids for Marvell 88e3082 and IC PLUS IP1000A

13 years agoMake sure BBP is ready before writing to it.
Sepherosa Ziehau [Thu, 16 Nov 2006 13:16:46 +0000 (13:16 +0000)]
Make sure BBP is ready before writing to it.

13 years ago- Correct register name
Sepherosa Ziehau [Thu, 16 Nov 2006 12:24:35 +0000 (12:24 +0000)]
- Correct register name
- Add comment abount some registers

Taken-from: Linux rt2500 driver

13 years agoClean up #includes
Sepherosa Ziehau [Thu, 16 Nov 2006 12:22:49 +0000 (12:22 +0000)]
Clean up #includes

13 years agoMerge from vendor branch FILE:
Peter Avalos [Wed, 15 Nov 2006 23:13:45 +0000 (23:13 +0000)]
Merge from vendor branch FILE:
Use the vendor-supplied man pages for file.1 and magic.5 instead of the
stale ones we have now.

Reviewed-by: vbd

13 years agoUse the vendor-supplied man pages for file.1 and magic.5 instead of the
Peter Avalos [Wed, 15 Nov 2006 23:13:45 +0000 (23:13 +0000)]
Use the vendor-supplied man pages for file.1 and magic.5 instead of the
stale ones we have now.

Reviewed-by: vbd

13 years agoUse the vendor-supplied man pages for file.1 and magic.5 instead of the
Peter Avalos [Wed, 15 Nov 2006 23:13:45 +0000 (23:13 +0000)]
Use the vendor-supplied man pages for file.1 and magic.5 instead of the
stale ones we have now.

Reviewed-by: vbd

13 years agoDon't break buildworld for upgrading users: "i386" is no valid platorm
Simon Schubert [Wed, 15 Nov 2006 03:27:10 +0000 (03:27 +0000)]
Don't break buildworld for upgrading users:  "i386" is no valid platorm
name anymore, so we automatically convert it to "pc32".
Remove checks for build/installworld, as sys.mk deals with fixing now.

Discussed-with: pavalos
DragonFly-issue: http://bugs.dragonflybsd.org/issue379 (among others)

13 years agoFix for the latest developments in the kernel architecture reorganization.
Sascha Wildner [Tue, 14 Nov 2006 22:27:49 +0000 (22:27 +0000)]
Fix for the latest developments in the kernel architecture reorganization.

13 years agoUpdate re(4) manpage to reflect recent re(4) changes.
Sepherosa Ziehau [Tue, 14 Nov 2006 13:39:45 +0000 (13:39 +0000)]
Update re(4) manpage to reflect recent re(4) changes.

Reviewed-by: swildner@
13 years agoSync re(4) with FreeBSD:
Sepherosa Ziehau [Tue, 14 Nov 2006 13:35:49 +0000 (13:35 +0000)]
Sync re(4) with FreeBSD:
- Add support for RealTek 8169SC/8110SC and RTL8101E devices.  The latter
  is a PCIe 10/100 chip.
- Add support for RealTek RTL8168(B?)
- Fix EEPROM reading code
- Disable diagnostic code in re_attach() by default.  It is almost useless
  and has caused much trouble.
- Manually padding small IP datagrams to work arround hardware checksum
  offload bug [1].  Enable IP/TCP/UDP checksum offload after this fix.
- Work arround hardware TX bug in some PCIe re(4) devices:
  The TX command, which is issued when there is transmission in progress,
  will get lost [2].
  So at the end of re_txeof(), if there are still packets sitting in the
  TX ring, we kick the TX engine again.
- Add a sysctl hw.reX.tx_moderation to turn on/off TX moderation.  It is
  on by default.
- Move softc related structs from if_rereg.h into newly created if_revar.h

Thank Bill Paul (wpaul@freebsd.org) and many other people for their work
on this driver.

#
# [1] Detailed description of this bug is at:
#     FreeBSD dev/re/if_re.c rev1.70 by wpaul@freebsd.org
#
# [2] Detailed description of this bug is at:
#     FreeBSD dev/re/if_re.c rev1.71 by wpaul@freebsd.org
#

13 years agoupdate manpage according recent sk(4) changes
Sepherosa Ziehau [Tue, 14 Nov 2006 12:53:45 +0000 (12:53 +0000)]
update manpage according recent sk(4) changes

Reviewed-by: swildner@
13 years ago- busdma(9)fy
Sepherosa Ziehau [Tue, 14 Nov 2006 12:52:31 +0000 (12:52 +0000)]
- busdma(9)fy
- Use a per-controller serializer instead of per-driver serializer
- Supports more chips
  Obtained-from: OpenBSD
- Reduce interrupt moderation timer, thus decrease response latency
  Obtained-from: NetBSD via OpenBSD
- Fix watchdog timeout errors seen on a few systems:
  "The SK-NET GENESIS document says reading the SK_ISSR register should stop
   generating further interrupts, but it seems there is the possibility
   of losing interrupts between reading the SK_ISSR register and determining
   which interrupts have been reported. To cope with this situation we
   continuously read the SK_ISSR register until there are no interrupts.

   However, it seems that the above workaround does not fix all cases.
   Add workaround code that tries to protect against false alarms from
   the watchdog handler by trying to reclaim pending Tx descriptors
   before resetting the hardware.

   This should fix occasional watchdog timeouts seen with this driver."
  Obtained-from: FreeBSD via OpenBSD
- Move softc related structs from if_skreg.h into newly added if_skvar.h

Thanks for all of the people for their working on this driver.

13 years agoregen
Sepherosa Ziehau [Tue, 14 Nov 2006 12:32:18 +0000 (12:32 +0000)]
regen

13 years ago- GALILEO -> MARVELL
Sepherosa Ziehau [Tue, 14 Nov 2006 12:30:51 +0000 (12:30 +0000)]
- GALILEO -> MARVELL
- Add some Yukon/YukonII PCI ids

13 years agoAdd some more PCI IDs for the SATA300 controllers of newer Intel boards.
Joerg Sonnenberger [Tue, 14 Nov 2006 10:54:21 +0000 (10:54 +0000)]
Add some more PCI IDs for the SATA300 controllers of newer Intel boards.

13 years agoSync the uplcom(4) driver with FreeBSD.
Sascha Wildner [Mon, 13 Nov 2006 21:39:19 +0000 (21:39 +0000)]
Sync the uplcom(4) driver with FreeBSD.

Submitted-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
Reviewed-by: dillon
I did some minor fixes and synced the manpage, too.

13 years agoRegenerate
Sascha Wildner [Mon, 13 Nov 2006 21:21:11 +0000 (21:21 +0000)]
Regenerate

13 years agoAdd USB serial adapters/cable.
Sascha Wildner [Mon, 13 Nov 2006 21:18:48 +0000 (21:18 +0000)]
Add USB serial adapters/cable.

Submitted-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
13 years agoUpon further review, VERSION isn't even used in libmagic.3.
Peter Avalos [Mon, 13 Nov 2006 17:45:05 +0000 (17:45 +0000)]
Upon further review, VERSION isn't even used in libmagic.3.

13 years agoAvoid duplicated ifname in debug message.
Sepherosa Ziehau [Mon, 13 Nov 2006 12:27:23 +0000 (12:27 +0000)]
Avoid duplicated ifname in debug message.

Obtained-from: FreeBSD (sam@freebsd.org)

13 years agoOur errno is in section 2, so patch the vendor provided man page.
Peter Avalos [Mon, 13 Nov 2006 05:42:42 +0000 (05:42 +0000)]
Our errno is in section 2, so patch the vendor provided man page.

Thanks again to swildner for the manpage markup review.

13 years agoAdd Belarus locales (identical with FreeBSD's).
Sascha Wildner [Sun, 12 Nov 2006 21:15:46 +0000 (21:15 +0000)]
Add Belarus locales (identical with FreeBSD's).

Submitted-by: Yury Tarasievich <yury.tarasievich@gmail.com>
The following modifications were done by me:

* Fix a comment in be_BY.CP1131.src (silences a preprocessor warning).

* Add a definition for the panic key to the keymap files (as all our
  keymaps have).

* Use FreeBSD's rev. 1.2 of share/mklocale/be_BY.CP1131.src (comments
  correction).

13 years agoRename boot_i386.8 to boot_pc32.8 by repo-copy in order to enable the
Sascha Wildner [Sun, 12 Nov 2006 18:15:11 +0000 (18:15 +0000)]
Rename boot_i386.8 to boot_pc32.8 by repo-copy in order to enable the
creation of the boot.8 MLINK again.

Remove boot_i386.8 with 'make upgrade'.

13 years agoAdd a check for installworld (similar to the buildworld check) to ensure
Sascha Wildner [Sun, 12 Nov 2006 13:20:41 +0000 (13:20 +0000)]
Add a check for installworld (similar to the buildworld check) to ensure
that MACHINE is set to 'pc32' before installing world.

Reported-by: Thomas Schlesinger, Rumko and several other people
13 years agoAdd a libmagic.3 manual page.
Peter Avalos [Sun, 12 Nov 2006 04:51:56 +0000 (04:51 +0000)]
Add a libmagic.3 manual page.

Thank you to swildner for the implementation of pulling VERSION from
config.h.

13 years agoMerge from vendor branch FILE:
Peter Avalos [Sun, 12 Nov 2006 04:51:56 +0000 (04:51 +0000)]
Merge from vendor branch FILE:
Add a libmagic.3 manual page.

Thank you to swildner for the implementation of pulling VERSION from
config.h.

13 years agoAdd a libmagic.3 manual page.
Peter Avalos [Sun, 12 Nov 2006 04:51:56 +0000 (04:51 +0000)]
Add a libmagic.3 manual page.

Thank you to swildner for the implementation of pulling VERSION from
config.h.

13 years agoFix warning.
Sascha Wildner [Sun, 12 Nov 2006 00:51:47 +0000 (00:51 +0000)]
Fix warning.

13 years agoRemove files not in the new version.
Peter Avalos [Sat, 11 Nov 2006 22:10:35 +0000 (22:10 +0000)]
Remove files not in the new version.

13 years agoUpgrade to file-4.18.
Peter Avalos [Sat, 11 Nov 2006 22:04:52 +0000 (22:04 +0000)]
Upgrade to file-4.18.

13 years agoMerge from vendor branch FILE:
Peter Avalos [Sat, 11 Nov 2006 22:04:52 +0000 (22:04 +0000)]
Merge from vendor branch FILE:
Upgrade to file-4.18.

13 years agoUpgrade to file-4.18.
Peter Avalos [Sat, 11 Nov 2006 22:04:52 +0000 (22:04 +0000)]
Upgrade to file-4.18.

13 years agoTypo from previous commit (forgot the trailing */).
Peter Avalos [Sat, 11 Nov 2006 21:56:35 +0000 (21:56 +0000)]
Typo from previous commit (forgot the trailing */).

13 years agoRevert the previous commit in libmagic to make both libmagic and file(1)
Peter Avalos [Sat, 11 Nov 2006 21:52:12 +0000 (21:52 +0000)]
Revert the previous commit in libmagic to make both libmagic and file(1)
use the config.h in lib/libmagic so we don't have multiple copies of the
same file in the src tree.  Having file(1) rely on files in libmagic is
slightly more logical than the previous behavior.

13 years agoRevert the previous commit in libmagic to make both libmagic and file(1)
Peter Avalos [Sat, 11 Nov 2006 21:41:18 +0000 (21:41 +0000)]
Revert the previous commit in libmagic to make both libmagic and file(1)
use the config.h in lib/libmagic so we don't have multiple copies of the
same file in the src tree.  Having file(1) rely on files in libmagic is
slightly more logical than the previous behavior.

13 years agoFix another typo.
Sascha Wildner [Sat, 11 Nov 2006 21:19:02 +0000 (21:19 +0000)]
Fix another typo.

Noticed-by: Trevor Kendall <trevorjkendall@gmail.com>
13 years agoRemove /usr/include/machine/dvcfg.h with 'make upgrade'.
Sascha Wildner [Sat, 11 Nov 2006 20:18:37 +0000 (20:18 +0000)]
Remove /usr/include/machine/dvcfg.h with 'make upgrade'.

13 years agoCheck for subdirectories for both the platform architecture and the
Matthew Dillon [Sat, 11 Nov 2006 20:02:36 +0000 (20:02 +0000)]
Check for subdirectories for both the platform architecture and the
cpu architecture.

13 years agoEnable the building of boot0cfg for pc32.
Matthew Dillon [Sat, 11 Nov 2006 20:01:31 +0000 (20:01 +0000)]
Enable the building of boot0cfg for pc32.

13 years agoFix path.
Sascha Wildner [Sat, 11 Nov 2006 19:38:41 +0000 (19:38 +0000)]
Fix path.

13 years agoTurn off splitting in the AUTHORS section.
Sascha Wildner [Sat, 11 Nov 2006 18:50:04 +0000 (18:50 +0000)]
Turn off splitting in the AUTHORS section.

13 years agoFix typo.
Sascha Wildner [Sat, 11 Nov 2006 17:39:44 +0000 (17:39 +0000)]
Fix typo.

13 years agoTurn off splitting in the AUTHORS section.
Sascha Wildner [Sat, 11 Nov 2006 17:26:48 +0000 (17:26 +0000)]
Turn off splitting in the AUTHORS section.

13 years agoAdd support for SIGINFO.
Victor Balada Diaz [Sat, 11 Nov 2006 12:11:25 +0000 (12:11 +0000)]
Add support for SIGINFO.

Submitted-By: Trevor Kendall <trevorjkendall@gmail.com>
13 years agoAdd support for SIGINFO.
Victor Balada Diaz [Sat, 11 Nov 2006 12:05:36 +0000 (12:05 +0000)]
Add support for SIGINFO.

Submitted-By: Trevor Kendall <trevorjkendall@gmail.com>
13 years agoGrab config.h from usr.bin/file/ instead of having 2 identical copies in
Peter Avalos [Fri, 10 Nov 2006 22:16:06 +0000 (22:16 +0000)]
Grab config.h from usr.bin/file/ instead of having 2 identical copies in
the src tree.

13 years agoFix typos.
Peter Avalos [Thu, 9 Nov 2006 19:02:11 +0000 (19:02 +0000)]
Fix typos.

13 years agoRemove lukemftpd from our source tree as discussed on users@:
Peter Avalos [Thu, 9 Nov 2006 18:44:52 +0000 (18:44 +0000)]
Remove lukemftpd from our source tree as discussed on users@:

http://leaf.dragonflybsd.org/mailarchive/users/2006-11/msg00026.html

This is still available from pkgsrc.

13 years agobuildworld depends on hw.machine exported from the kernel being correct.
Matthew Dillon [Thu, 9 Nov 2006 17:16:56 +0000 (17:16 +0000)]
buildworld depends on hw.machine exported from the kernel being correct.
This designation has recently changed from i386 to pc32.  Add a check
to buildworld to report the problem and to tell the user how to fix it.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
13 years agoAdjust for symbol name changes.
Matthew Dillon [Thu, 9 Nov 2006 16:52:41 +0000 (16:52 +0000)]
Adjust for symbol name changes.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
13 years agoUpdate to the latest version and name (tnftp).
Peter Avalos [Wed, 8 Nov 2006 21:54:52 +0000 (21:54 +0000)]
Update to the latest version and name (tnftp).

13 years agoMerge from vendor branch TNFTP:
Peter Avalos [Wed, 8 Nov 2006 21:21:34 +0000 (21:21 +0000)]
Merge from vendor branch TNFTP:
Import of NetBSD's ftp client under its new name (tnftp)

13 years agoImport of NetBSD's ftp client under its new name (tnftp)
Peter Avalos [Wed, 8 Nov 2006 21:21:34 +0000 (21:21 +0000)]
Import of NetBSD's ftp client under its new name (tnftp)

13 years agoAdd a missing #undef to properly compile atomic.c functions into the
Matthew Dillon [Wed, 8 Nov 2006 20:59:52 +0000 (20:59 +0000)]
Add a missing #undef to properly compile atomic.c functions into the
kernel so modules can access them.

13 years agobmake uses /usr/share/mk/sys.mk, so we cannot require that MACHINE_CPU be
Matthew Dillon [Wed, 8 Nov 2006 20:43:31 +0000 (20:43 +0000)]
bmake uses /usr/share/mk/sys.mk, so we cannot require that MACHINE_CPU be
defined by the make program.

13 years agoGet the MI portions of VKERNEL to build, start linking it against libc.
Matthew Dillon [Wed, 8 Nov 2006 16:40:00 +0000 (16:40 +0000)]
Get the MI portions of VKERNEL to build, start linking it against libc.

13 years agoMove the Maxmem extern to systm.h
Matthew Dillon [Wed, 8 Nov 2006 16:38:47 +0000 (16:38 +0000)]
Move the Maxmem extern to systm.h

13 years agoAdd patch from FreeBSD to fix an infinite loop described at:
Peter Avalos [Wed, 8 Nov 2006 16:27:42 +0000 (16:27 +0000)]
Add patch from FreeBSD to fix an infinite loop described at:

http://security.FreeBSD.org/advisories/FreeBSD-SA-06:24.libarchive.asc

13 years agoSync zoneinfo database with tzdata2006o from elsie.
Sascha Wildner [Wed, 8 Nov 2006 13:46:33 +0000 (13:46 +0000)]
Sync zoneinfo database with tzdata2006o from elsie.

antarctica:     8.2 -> 8.3
northamerica:   8.9 -> 8.10
southamerica:   8.5 -> 8.6

From Paul Eggert's comments:

* Changes affecting current and future time stamps.

  Cuba has ended its three years of permanent DST.
  (Thanks to Jesper Norgaard Welen for this.)

* Changes affecting past time stamps.

  Many transitions in Chile from 1918 through 1998 have been updated
  to reflect <http://www.horaoficial.cl/horaof.htm>.  (Thanks to
  Jesper Norgaard Welen for this.)  This also affects Palmer base
  in Antarctica.  I also updated some incorrect rules for use of
  Argentina daylight saving rules at Palmer before 1982.

* Changes affecting commentary only.

  The URLs for Paraguay's daylight saving decrees have been updated.
  (Thanks to Jesper Norgaard Welen and Carlos Raul Perasso for this.)

13 years agoMore Machine-dependant/Machine-independant code and header file separation.
Matthew Dillon [Tue, 7 Nov 2006 20:48:15 +0000 (20:48 +0000)]
More Machine-dependant/Machine-independant code and header file separation.
Numerous machine interfaces have MI APIs and should be declared in MI headers
even though the routines are defined in MD sources.

* Improve rdtsc()'s API so it can be used in MI code.
* Add an explicit enable in machine/${MACHINE}/Makefile.inc for syscons/apm.
* Abstract <machine/reg.h> and provide a MI API for it via <sys/reg.h>.
* Move additional MI API calls from <machine/md_var.h> to <sys/systm.h>.

13 years agoMove <machine/dvcfg.h> to the one device that actually uses it, remove
Matthew Dillon [Tue, 7 Nov 2006 19:56:27 +0000 (19:56 +0000)]
Move <machine/dvcfg.h> to the one device that actually uses it, remove
other inclusions of dvcfg.h that are not used.

Give each platform architecture a "Makefile.inc" file which the build
system can use to determine device support when building devices.

13 years agoMove <machine/ccbque.h> to <sys/ccbque.h>. ccbque.h is not a
Matthew Dillon [Tue, 7 Nov 2006 19:23:54 +0000 (19:23 +0000)]
Move <machine/ccbque.h> to <sys/ccbque.h>.  ccbque.h is not a
machine-specific header file.