]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoFix -W long option handling.
Tim Kientzle [Wed, 22 Dec 2004 03:38:28 +0000 (03:38 +0000)]
Fix -W long option handling.
In particular:
  -W excl=text
fails because "excl" is a prefix of both "exclude" and "exclude-from".  But,
  -W exclude=text
is okay because it matches "exclude" exactly.

Thanks to: Jose F Nieves
MFC after: 7 days

19 years agoDon't truncate major/minor numbers written to the legacy
Tim Kientzle [Wed, 22 Dec 2004 02:35:37 +0000 (02:35 +0000)]
Don't truncate major/minor numbers written to the legacy
ustar fields.  Later, we're going to permit numeric extensions
for these fields, so we can support large values here.  In particular,
this allows GNU tar to correctly extract such entries even
though it doesn't support the pax extended attributes.

Note: r1.18 and r1.17.2.1 of this file allowed similar treatment
of the uid/gid fields.

Thanks to: Ben Mesander

19 years agoTune the bidding for tar archives. This
Tim Kientzle [Wed, 22 Dec 2004 00:49:16 +0000 (00:49 +0000)]
Tune the bidding for tar archives.  This
improves the recognition of hardlink entries
with/without bodies (which is implemented through
a look-ahead that uses the bid function).

MFC after: 7 days

19 years agoPortability: the included fts.c should now
Tim Kientzle [Wed, 22 Dec 2004 00:21:28 +0000 (00:21 +0000)]
Portability: the included fts.c should now
compile on many non-FreeBSD systems, including
Linux, Solaris, Darwin, etc.

Thanks to: many people who pointed out the same portability problem

19 years agoAnd this, kids, is what happens if you act on a patch without looking
Peter Pentchev [Tue, 21 Dec 2004 20:02:50 +0000 (20:02 +0000)]
And this, kids, is what happens if you act on a patch without looking
at the mailing list to see if there isn't any more discussion just
around the corner.  Here's the update to the other part of the manpage
that deals with the hw.ata.atapi_dma loader tunable and initializing
ATAPI devices in PIO or DMA mode.

PR: 75021
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Spotted by: Joel Dahl <joel@automatvapen.se>

19 years agoNow, when force device destruction is done on shutdown, hide warning,
Pawel Jakub Dawidek [Tue, 21 Dec 2004 19:50:18 +0000 (19:50 +0000)]
Now, when force device destruction is done on shutdown, hide warning,
that device cannot be destroyed immediately, under debug=1.

Suggested by: simon

19 years agoReflect the change of the hw.ata.atapi_dma sysctl default in rev. 1.217 of
Peter Pentchev [Tue, 21 Dec 2004 19:41:21 +0000 (19:41 +0000)]
Reflect the change of the hw.ata.atapi_dma sysctl default in rev. 1.217 of
src/sys/dev/ata/ata-all.c from PIO to DMA.

Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
MFC after: 1 week

19 years agoImprove reliability and clean up code a bit.
Pawel Jakub Dawidek [Tue, 21 Dec 2004 19:30:59 +0000 (19:30 +0000)]
Improve reliability and clean up code a bit.
For more details check src/sys/geom/mirror/g_mirror.c rev.1.47,1.48,1.49,1.50.

19 years agoUse vtopde() instead of pmap_pde() in pmap_kextract(); vtopde() is smaller
Alan Cox [Tue, 21 Dec 2004 19:25:56 +0000 (19:25 +0000)]
Use vtopde() instead of pmap_pde() in pmap_kextract(); vtopde() is smaller
and faster in cases, such as pmap_kextract(), where the pde is known to
exist.

19 years agoWait a bit after creating device.
Pawel Jakub Dawidek [Tue, 21 Dec 2004 19:03:10 +0000 (19:03 +0000)]
Wait a bit after creating device.

19 years agoWhen RAID3 device is configured in "verify" mode, synchronization of the
Pawel Jakub Dawidek [Tue, 21 Dec 2004 18:48:59 +0000 (18:48 +0000)]
When RAID3 device is configured in "verify" mode, synchronization of the
parity component is now force on creation.
Change regression test which check "verify" mode to work properly after
this change.

19 years agoThis should not be permitted, but some GEOM classes held the topology lock
Pawel Jakub Dawidek [Tue, 21 Dec 2004 18:42:51 +0000 (18:42 +0000)]
This should not be permitted, but some GEOM classes held the topology lock
while doing g_(read|write)_data() (e.g. BSD). This can cause a deadlock
in MIRROR class. Not sure if this is safe to drop the topology lock in BSD
class, so change the code in MIRROR class to avoid this deadlock.

19 years agoImplement g_topology_try_lock().
Pawel Jakub Dawidek [Tue, 21 Dec 2004 18:32:46 +0000 (18:32 +0000)]
Implement g_topology_try_lock().

No objection from: phk

19 years agoUse the source of the termcap database when available.
Ruslan Ermilov [Tue, 21 Dec 2004 15:16:36 +0000 (15:16 +0000)]
Use the source of the termcap database when available.

19 years agoThe "fixate" command no longer terminates command processing,
Ruslan Ermilov [Tue, 21 Dec 2004 14:57:37 +0000 (14:57 +0000)]
The "fixate" command no longer terminates command processing,
so that "eject" following it can happen.

19 years agoDocument -F in usage() and SYNOPSIS.
Ruslan Ermilov [Tue, 21 Dec 2004 14:53:44 +0000 (14:53 +0000)]
Document -F in usage() and SYNOPSIS.

19 years agoMake "burncd ... fixate eject" really work as promised.
Ruslan Ermilov [Tue, 21 Dec 2004 14:49:10 +0000 (14:49 +0000)]
Make "burncd ... fixate eject" really work as promised.

19 years agoNOPAM -> NO_PAM
Ruslan Ermilov [Tue, 21 Dec 2004 12:49:24 +0000 (12:49 +0000)]
NOPAM -> NO_PAM

19 years agoNOIPSEC -> TRACEROUTE_NO_IPSEC
Ruslan Ermilov [Tue, 21 Dec 2004 12:44:20 +0000 (12:44 +0000)]
NOIPSEC -> TRACEROUTE_NO_IPSEC

19 years agoNOFORTH -> NO_FORTH
Ruslan Ermilov [Tue, 21 Dec 2004 12:32:15 +0000 (12:32 +0000)]
NOFORTH -> NO_FORTH

19 years agoNOCLEAN -> NO_CLEAN
Ruslan Ermilov [Tue, 21 Dec 2004 12:21:26 +0000 (12:21 +0000)]
NOCLEAN -> NO_CLEAN
NOCLEANDIR -> NO_CLEANDIR

19 years agoFix the build of netrate/ with WARNS=5 and add a Makefile.inc to
Giorgos Keramidas [Tue, 21 Dec 2004 12:14:34 +0000 (12:14 +0000)]
Fix the build of netrate/ with WARNS=5 and add a Makefile.inc to
make it the default for all the netrate test tools.

Approved by: rwatson

19 years agoNOSHARE -> NO_SHARE
Ruslan Ermilov [Tue, 21 Dec 2004 12:13:23 +0000 (12:13 +0000)]
NOSHARE -> NO_SHARE

19 years agoNOHTML -> NO_HTML
Ruslan Ermilov [Tue, 21 Dec 2004 12:05:11 +0000 (12:05 +0000)]
NOHTML -> NO_HTML

19 years agoOverhaul ppp(8) build options so they are safe to use in
Ruslan Ermilov [Tue, 21 Dec 2004 12:01:15 +0000 (12:01 +0000)]
Overhaul ppp(8) build options so they are safe to use in
/etc/make.conf:

NOALIAS -> retired (support provided by PPP_NO_NAT)
NOATM -> PPP_NO_ATM (also subject to NO_ATM global)
NODES -> PPP_NO_DES (support was broken, now recovered)
NOI4B -> PPP_NO_I4B (also subject to NO_I4B global)
NOKLDLOAD -> PPP_NO_KLDLOAD
NONAT -> PPP_NO_NAT
NONETGRAPH -> PPP_NO_NETGRAPH
NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global)
NORADIUS -> PPP_NO_RADIUS
NOSUID -> retired (support provided by PPP_NO_SUID)
PPP_NOSUID -> PPP_NO_SUID

19 years ago- The IQ80321 has a jumper which changes the PCI device id from 4 to 8 for the
Olivier Houchard [Tue, 21 Dec 2004 11:36:09 +0000 (11:36 +0000)]
- The IQ80321 has a jumper which changes the PCI device id from 4 to 8 for the
GigE controller, so handle this.
- Use the outbound window 0 if the PCI mem requested is in its range, instead
of inconditionally use the outbound window 1.
This should be enough to get FreeBSD/arm to work on the IQ80321 board as well.

Reported and tested by: Jia-Shiun Li <jiashiun at gmail dot com>

19 years agoThe C define is NONAT.
Ruslan Ermilov [Tue, 21 Dec 2004 11:12:05 +0000 (11:12 +0000)]
The C define is NONAT.

19 years agoNOINET6 -> NO_INET6
Ruslan Ermilov [Tue, 21 Dec 2004 10:49:29 +0000 (10:49 +0000)]
NOINET6 -> NO_INET6

19 years agoNOGAMES -> NO_GAMES
Ruslan Ermilov [Tue, 21 Dec 2004 10:36:54 +0000 (10:36 +0000)]
NOGAMES -> NO_GAMES

19 years agoNOCRYPT -> NO_CRYPT
Ruslan Ermilov [Tue, 21 Dec 2004 10:16:04 +0000 (10:16 +0000)]
NOCRYPT -> NO_CRYPT

19 years agoNOSHARED -> NO_SHARED
Ruslan Ermilov [Tue, 21 Dec 2004 09:59:45 +0000 (09:59 +0000)]
NOSHARED -> NO_SHARED

19 years agoNOFSCHG -> NO_FSCHG
Ruslan Ermilov [Tue, 21 Dec 2004 09:53:14 +0000 (09:53 +0000)]
NOFSCHG -> NO_FSCHG

19 years agoNOINSTALLLIB -> NO_INSTALLLIB
Ruslan Ermilov [Tue, 21 Dec 2004 09:51:09 +0000 (09:51 +0000)]
NOINSTALLLIB -> NO_INSTALLLIB

19 years agoNOMLINKS -> NO_MLINKS
Ruslan Ermilov [Tue, 21 Dec 2004 09:44:43 +0000 (09:44 +0000)]
NOMLINKS -> NO_MLINKS

19 years agoNOTAGS -> NO_TAGS
Ruslan Ermilov [Tue, 21 Dec 2004 09:43:25 +0000 (09:43 +0000)]
NOTAGS -> NO_TAGS

19 years agoNOEXTRADEPEND -> NO_EXTRADEPEND
Ruslan Ermilov [Tue, 21 Dec 2004 09:42:10 +0000 (09:42 +0000)]
NOEXTRADEPEND -> NO_EXTRADEPEND

19 years agoNODOCCOMPRESS -> NO_DOCCOMPRESS
Ruslan Ermilov [Tue, 21 Dec 2004 09:33:47 +0000 (09:33 +0000)]
NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE

19 years agoNOATM -> NO_ATM
Ruslan Ermilov [Tue, 21 Dec 2004 09:08:06 +0000 (09:08 +0000)]
NOATM -> NO_ATM

19 years agoNOLIBC_R -> NO_LIBC_R
Ruslan Ermilov [Tue, 21 Dec 2004 09:00:26 +0000 (09:00 +0000)]
NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR

19 years agoStart the dreaded NOFOO -> NO_FOO conversion.
Ruslan Ermilov [Tue, 21 Dec 2004 08:47:35 +0000 (08:47 +0000)]
Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core

19 years agoGEOMify the OFW disk driver. Code taken unashamedly from
Peter Grehan [Tue, 21 Dec 2004 02:23:35 +0000 (02:23 +0000)]
GEOMify the OFW disk driver. Code taken unashamedly from
the preload case in dev/md/md.c.

19 years agoProtect the NM expansion.
David E. O'Brien [Tue, 21 Dec 2004 02:08:14 +0000 (02:08 +0000)]
Protect the NM expansion.

19 years agoFix a mis-sort.
David E. O'Brien [Tue, 21 Dec 2004 02:07:38 +0000 (02:07 +0000)]
Fix a mis-sort.

19 years ago(fast) ethernet -> (Fast) Ethernet
Christian Brueffer [Tue, 21 Dec 2004 01:09:34 +0000 (01:09 +0000)]
(fast) ethernet -> (Fast) Ethernet

MFC after: 3 days

19 years agoHide/remove various printfs, now that root mounting doesn't seem to explode
Poul-Henning Kamp [Mon, 20 Dec 2004 21:59:25 +0000 (21:59 +0000)]
Hide/remove various printfs, now that root mounting doesn't seem to explode
on people.

19 years agofix a misleading sleep identifier.
Poul-Henning Kamp [Mon, 20 Dec 2004 21:38:13 +0000 (21:38 +0000)]
fix a misleading sleep identifier.

19 years agoWe can only ever get to vgonechrl() from a devfs vnode, so we do not
Poul-Henning Kamp [Mon, 20 Dec 2004 21:34:29 +0000 (21:34 +0000)]
We can only ever get to vgonechrl() from a devfs vnode, so we do not
need to reassign the vp->v_op to devfs_specops, we know that is the
value already.

Make devfs_specops private to devfs.

19 years agoOops, this one isn't ready
Julian Elischer [Mon, 20 Dec 2004 21:17:22 +0000 (21:17 +0000)]
Oops, this one isn't ready
 back it out until fixed

19 years agoAdd a couple of KASSERTS to try to diagnose a problem reported.
Poul-Henning Kamp [Mon, 20 Dec 2004 21:12:11 +0000 (21:12 +0000)]
Add a couple of KASSERTS to try to diagnose a problem reported.

19 years agoAdd a bunch of USB definitions from NetBSD.
Julian Elischer [Mon, 20 Dec 2004 20:41:55 +0000 (20:41 +0000)]
Add a bunch of USB definitions from NetBSD.
This is part of an ongoing cycle of commits on all the BSDs to
merge the USB vendor and device defintions..

A merge from OpenBSD is still pending.

Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk)
Obtained from: NetBSD
MFC after: 1 week

19 years agoMerge in a bunch of USB device and manufacturer definitions..
Julian Elischer [Mon, 20 Dec 2004 20:10:57 +0000 (20:10 +0000)]
Merge in a bunch of USB device and manufacturer definitions..

Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk)
Obtained from: Dragonfly
MFC after: 3 days

19 years agoUse "KEYWORD: shutdown" so shutdown commands will actually be executed.
Peter Edwards [Mon, 20 Dec 2004 18:34:10 +0000 (18:34 +0000)]
Use "KEYWORD: shutdown" so shutdown commands will actually be executed.

Approved by:  dougb@

19 years agoIf PORTNAME is set in a system Makefile then hook into the ports
Paul Richards [Mon, 20 Dec 2004 15:46:56 +0000 (15:46 +0000)]
If PORTNAME is set in a system Makefile then hook into the ports
mechanisms to allow a package to be created. This paves the way
for packaging the main tree.

19 years agoWhen stopping a chrooted named, unmount the devfs filesystem from
Peter Edwards [Mon, 20 Dec 2004 10:48:48 +0000 (10:48 +0000)]
When stopping a chrooted named, unmount the devfs filesystem from
the chroot area. This stops "umount -a" failing when dropping to
single user.

Reviewed by: dougb@

19 years agoOnly use the current value if there's one IRQ. Some systems return
Nate Lawson [Mon, 20 Dec 2004 10:46:56 +0000 (10:46 +0000)]
Only use the current value if there's one IRQ.  Some systems return
multiple IRQs (which is nonsense for _CRS) when the link hasn't been
programmed.  Before, this was a KASSERT.  A ServerWorks system was
seen returning IRQs of 0, 2 in response to _CRS before link setup.
Thanks to sam@ for quick testing and turnaround on this.

Tested by: sam

19 years agoFix compilation for the USE_KQUEUE case.
Hartmut Brandt [Mon, 20 Dec 2004 10:21:27 +0000 (10:21 +0000)]
Fix compilation for the USE_KQUEUE case.

Submitted by: Emil Mikulic <emikulic@dmr.ath.cx>

19 years agoOnly try to use the 82503 serial interface for the 82557 chipsets. The
Maxime Henrion [Mon, 20 Dec 2004 10:18:21 +0000 (10:18 +0000)]
Only try to use the 82503 serial interface for the 82557 chipsets.  The
datasheet says it is only valid for such chipsets and shouldn't be used
with others.  This fixes some 82559 based cards which otherwise only
work at 10Mbit.

MFC after: 5 days
Tested by: krion

19 years agomaxJobs is declared extern in job.h so it cannot be static in job.c.
Hartmut Brandt [Mon, 20 Dec 2004 10:14:05 +0000 (10:14 +0000)]
maxJobs is declared extern in job.h so it cannot be static in job.c.

PR: bin/75210
Submitted by: Andreas Jochens; Robert Millan <rmh@debian.org>

19 years agoSort by month/day/year/login.
Ruslan Ermilov [Mon, 20 Dec 2004 10:09:06 +0000 (10:09 +0000)]
Sort by month/day/year/login.

19 years agoEnable jumbo frames on Yukon variants of sk(4).
Bjoern A. Zeeb [Mon, 20 Dec 2004 10:07:12 +0000 (10:07 +0000)]
Enable jumbo frames on Yukon variants of sk(4).

In contrast to OpenBSD we enable jumbo frame support
depending on MTU setting (like done for xmac).

Approved by: pjd (mentor)
Obtained from: OpenBSD if_sk.c r1.52 (YU_SMR_MFL_JUMBO flag)
Tested by: Heinz Knocke <knockefreebsd at o2 dot pl>
MFC after: 5 days

19 years agoOnly report a critical battery level once until it's gone non-critical.
Nate Lawson [Mon, 20 Dec 2004 05:03:41 +0000 (05:03 +0000)]
Only report a critical battery level once until it's gone non-critical.
An improvement would be to check all batteries for critical state before
printing a message.

Reported by: Kevin Oberman (oberman at es net)

19 years agoNote requirement to manually load/configure ancillary wlan modules.
Sam Leffler [Mon, 20 Dec 2004 04:27:23 +0000 (04:27 +0000)]
Note requirement to manually load/configure ancillary wlan modules.

Requested by: silby

19 years agoadd ancillary wlan modules and fixup comments
Sam Leffler [Mon, 20 Dec 2004 04:22:41 +0000 (04:22 +0000)]
add ancillary wlan modules and fixup comments

Requested by: silby

19 years agoRemove unused variables.
Pawel Jakub Dawidek [Sun, 19 Dec 2004 23:55:49 +0000 (23:55 +0000)]
Remove unused variables.

19 years ago- Argument 'flags' in g_mirror_destroy_consumer() function is unsed -
Pawel Jakub Dawidek [Sun, 19 Dec 2004 23:33:59 +0000 (23:33 +0000)]
- Argument 'flags' in g_mirror_destroy_consumer() function is unsed -
  mark it as such.
- Before closing consumer check if it is open. It can be closed here
  when g_mirror_connect_disk() fails on g_access().

19 years agoDon't panic when sigsuspend is interrupted by a cancellation.
Daniel Eischen [Sun, 19 Dec 2004 23:23:43 +0000 (23:23 +0000)]
Don't panic when sigsuspend is interrupted by a cancellation.

PR: 75273

19 years agoSome major cleanups.
Pawel Jakub Dawidek [Sun, 19 Dec 2004 23:12:00 +0000 (23:12 +0000)]
Some major cleanups.

Keeping consumers open when device is closed is very hard. We need to
open consumers sometimes to update metadata, etc.
Many hacks was introduced in the past to made it possible. You cannot
be sure that you can open consumer for writing always, even if you think
it should be allowed. If one of the mirror components is for example da0
and you try to open it, you can get EPERM when da0s1 is opened for reading
(because BSD class opens consumers (da0) with an extra 'e' bit set).
Waiting for the events queue to be empty may do the trick, but it makes
code much uglier (as you cannot always call g_waitidle()), it doesn't
solve all edge cases and it can introduce deadlocks if there are events
in the queue that wait for gmirror.

I removed those hacks. Now all consumers are open r1w1e1 always, even if
device is closed. Maybe it is less clean from GEOM perspective, but simpify
code a lot and make it much more reliable.
The only issue was retaste event which is sent when we close consumers
opened for writing. I ignore retaste event by not detaching consumer
immediately (so retaste event is not send to my class) and sending event
right after it to detach and destroy consumer.

19 years agoDon't quit on first failure, just skip failures.
Pawel Jakub Dawidek [Sun, 19 Dec 2004 22:58:25 +0000 (22:58 +0000)]
Don't quit on first failure, just skip failures.

19 years agoAdd myself.
Mark Santcroos [Sun, 19 Dec 2004 22:21:41 +0000 (22:21 +0000)]
Add myself.

19 years agoInitialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN,
Daniel Hartmeier [Sun, 19 Dec 2004 19:43:04 +0000 (19:43 +0000)]
Initialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN,
prevents a possible endless loop in pf_get_sport() with 'static-port'

ICMP state entries use the ICMP ID as port for the unique state key. When
checking for a usable key, construct the key in the same way. Otherwise,
a colliding key might be missed or a state insertion might be refused even
though it could be inserted. The second case triggers the endless loop,
possibly allowing a NATed LAN client to lock up the kernel.

PR: kern/74930
Reported and tested by: Hugo Silva, Srebrenko Sehic
MFC after: 3 days

19 years agoMove launching the worker thread from a SYSINIT to the first device's
Nate Lawson [Sun, 19 Dec 2004 19:42:54 +0000 (19:42 +0000)]
Move launching the worker thread from a SYSINIT to the first device's
attach.  This fixes the previous behavior where systems without hptmv
hardware always had a worker thread running.

19 years agoAllocate an additional white space in a username column for
Maxim Konovalov [Sun, 19 Dec 2004 18:02:45 +0000 (18:02 +0000)]
Allocate an additional white space in a username column for
a long (UT_NAMESIZE) login names.

PR: bin/75259
Submitted by: Matthew D.Fuller
MFC after: 2 weeks

19 years agoWe already have ng_fec.4 manpage. And sys/modules is not a correct
Gleb Smirnoff [Sun, 19 Dec 2004 16:06:14 +0000 (16:06 +0000)]
We already have ng_fec.4 manpage. And sys/modules is not a correct
place for documentation.

19 years agoWe have an informative ng_source.4 manpage, which is not installed.
Gleb Smirnoff [Sun, 19 Dec 2004 16:03:06 +0000 (16:03 +0000)]
We have an informative ng_source.4 manpage, which is not installed.

19 years agoAssert queue mutex in ng_dequeue() and ng_queue_rw().
Gleb Smirnoff [Sun, 19 Dec 2004 14:58:13 +0000 (14:58 +0000)]
Assert queue mutex in ng_dequeue() and ng_queue_rw().

19 years agoUse the accepted abbreviation "kB" for kilobyte, rather than "kb" (which
Colin Percival [Sun, 19 Dec 2004 13:29:25 +0000 (13:29 +0000)]
Use the accepted abbreviation "kB" for kilobyte, rather than "kb" (which
is the common unit for a kilobit).

19 years agoCall umask() before opening the lock-file for a queue, to make sure
Garance A Drosehn [Sun, 19 Dec 2004 05:14:29 +0000 (05:14 +0000)]
Call umask() before opening the lock-file for a queue, to make sure
the file will be created with the right access, if the call to open()
does create it.  Also fix the other call to umask() to turn off
"write others", just as a matter of general safety.

PR: 74418
MFC after: 4 days

19 years agoNuke ports-picobsd, it was thrown out a while ago.
Christian Brueffer [Sun, 19 Dec 2004 02:31:45 +0000 (02:31 +0000)]
Nuke ports-picobsd, it was thrown out a while ago.

Approved by: linimon
MFC after: 3 days

19 years agoIn the ethernet-nic-regex:
Christian Brueffer [Sun, 19 Dec 2004 00:50:07 +0000 (00:50 +0000)]
In the ethernet-nic-regex:

- add udav(4)

In the scsi-controller-regex:

- correct an entry
- move another one to the right place
- add a bunch of missing drivers

Glanced at by: trhodes (scsi-controller-regex part)
MFC after: 3 days

19 years agoAdd FC929X into the list of supported devices.
Maxim Sobolev [Sat, 18 Dec 2004 19:12:06 +0000 (19:12 +0000)]
Add FC929X into the list of supported devices.

Reminded by: simon

19 years agoUse a generic way to back threads out of wait queues when handling
Daniel Eischen [Sat, 18 Dec 2004 18:07:37 +0000 (18:07 +0000)]
Use a generic way to back threads out of wait queues when handling
signals instead of having more intricate knowledge of thread state
within signal handling.

Simplify signal code because of above (by David Xu).

Use macros for libpthread usage of pthread_cleanup_push() and
pthread_cleanup_pop().  This removes some instances of malloc()
and free() from the semaphore and pthread_once() implementations.

When single threaded and forking(), make sure that the current
thread's signal mask is inherited by the forked thread.

Use private mutexes for libc and libpthread.  Signals are
deferred while threads hold private mutexes.  This fix also
breaks www/linuxpluginwrapper; a patch that fixes it is at
http://people.freebsd.org/~deischen/kse/linuxpluginwrapper.diff

Fix race condition in condition variables where handling a
signal (pthread_kill() or kill()) may not see a wakeup
(pthread_cond_signal() or pthread_cond_broadcast()).

In collaboration with: davidxu

19 years agoUpdate the StrongArm port to match the current code.
Olivier Houchard [Sat, 18 Dec 2004 17:58:49 +0000 (17:58 +0000)]
Update the StrongArm port to match the current code.
- Implement arm_mask_irqs and arm_unmask_irqs
- Provide the available physical address range after pmap_bootstrap allocated
things, instead or before, or bad things happen.

19 years agoMake sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp,
Olivier Houchard [Sat, 18 Dec 2004 17:43:01 +0000 (17:43 +0000)]
Make sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp,
as it has unpredictable results.

19 years agoAdd missing dependencies of $(OUTPUTS) on source makefiles.
Ruslan Ermilov [Sat, 18 Dec 2004 17:30:53 +0000 (17:30 +0000)]
Add missing dependencies of $(OUTPUTS) on source makefiles.

Caught by: make -DNOCLEAN buildworld

19 years agoAdd support for FC929X, which apparently is just a PCI-X version of FC929.
Maxim Sobolev [Sat, 18 Dec 2004 16:49:54 +0000 (16:49 +0000)]
Add support for FC929X, which apparently is just a PCI-X version of FC929.

MFC after: 3 days

19 years agoChange terminal state, not terminal type
Poul-Henning Kamp [Sat, 18 Dec 2004 16:31:21 +0000 (16:31 +0000)]
Change terminal state, not terminal type

19 years agoSynchronize reference list to the ng_xxx(4) manpages of netgraph nodes
Ralf S. Engelschall [Sat, 18 Dec 2004 15:27:17 +0000 (15:27 +0000)]
Synchronize reference list to the ng_xxx(4) manpages of netgraph nodes
with the actually installed manpages by adding the missing ones. This
way they can be found more easily.

MFC after: 2 days

19 years agoIf /etc/named is a symlink, try to make sure it points the right place.
Poul-Henning Kamp [Sat, 18 Dec 2004 15:19:36 +0000 (15:19 +0000)]
If /etc/named is a symlink, try to make sure it points the right place.

19 years ago1. msleep returns EWOULDBLOCK not ETIMEDOUT, use EWOULDBLOCK instead.
David Xu [Sat, 18 Dec 2004 13:43:16 +0000 (13:43 +0000)]
1. msleep returns EWOULDBLOCK not ETIMEDOUT, use EWOULDBLOCK instead.
2. Eliminate a possible lock leak in timed wait loop.

19 years ago1. make umtx sharable between processes, the way is two or more processes
David Xu [Sat, 18 Dec 2004 12:52:44 +0000 (12:52 +0000)]
1. make umtx sharable between processes, the way is two or more processes
   call mmap() to create a shared space, and then initialize umtx on it,
   after that, each thread in different processes can use the umtx same
   as threads in same process.
2. introduce a new syscall _umtx_op to support timed lock and condition
   variable semantics. also, orignal umtx_lock and umtx_unlock inline
   functions now are reimplemented by using _umtx_op, the _umtx_op can
   use arbitrary id not just a thread id.

19 years agoGrammar in a comment.
Ruslan Ermilov [Sat, 18 Dec 2004 12:31:12 +0000 (12:31 +0000)]
Grammar in a comment.

19 years agoOpen device R/W for ioctl modifications.
Poul-Henning Kamp [Sat, 18 Dec 2004 11:04:10 +0000 (11:04 +0000)]
Open device R/W for ioctl modifications.

19 years agoUncomment an upcoming 5.4-RELEASE.
Ruslan Ermilov [Sat, 18 Dec 2004 07:20:33 +0000 (07:20 +0000)]
Uncomment an upcoming 5.4-RELEASE.

19 years agoMake ip_nat compile again. Should read #if->n<-def LARGE_NAT as in ipf 4.x
Max Laier [Sat, 18 Dec 2004 03:47:54 +0000 (03:47 +0000)]
Make ip_nat compile again. Should read #if->n<-def LARGE_NAT as in ipf 4.x

19 years agoSlight change to formatting so that 'ctags' doesn't
Julian Elischer [Sat, 18 Dec 2004 01:20:18 +0000 (01:20 +0000)]
Slight change to formatting so that 'ctags' doesn't
give up on teh file half way through.. Might have been my
mistake earlier anyhow. No actual code change

MFC after: 5 days

19 years agoDocument "machdep.hlt_cpus".
Joseph Koshy [Sat, 18 Dec 2004 01:13:37 +0000 (01:13 +0000)]
Document "machdep.hlt_cpus".

Reviewed by: ru

19 years agoUncomment entries for FreeBSD 6.0 and 4.11.
Joseph Koshy [Sat, 18 Dec 2004 01:07:18 +0000 (01:07 +0000)]
Uncomment entries for FreeBSD 6.0 and 4.11.

Requested by: ru

19 years agoSpecify the state of my birth, similar to other entries.
Christian Brueffer [Sat, 18 Dec 2004 00:58:22 +0000 (00:58 +0000)]
Specify the state of my birth, similar to other entries.

19 years agoBCM5721 is supported as well.
Christian Brueffer [Fri, 17 Dec 2004 23:03:30 +0000 (23:03 +0000)]
BCM5721 is supported as well.

19 years agoAdd support for the 5721 which seems to be similar to the 5750/5751.
Paul Saab [Fri, 17 Dec 2004 21:50:18 +0000 (21:50 +0000)]
Add support for the 5721 which seems to be similar to the 5750/5751.

Tested by: Vivek Khera vivek at khera dot org