summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NOATM -> NO_ATMru2004-12-2113-13/+15
|
* NOLIBC_R -> NO_LIBC_Rru2004-12-2111-24/+27
| | | | | NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-21212-229/+246
| | | | OK'ed by: core
* GEOMify the OFW disk driver. Code taken unashamedly fromgrehan2004-12-211-147/+126
| | | | the preload case in dev/md/md.c.
* Protect the NM expansion.obrien2004-12-211-1/+1
|
* Fix a mis-sort.obrien2004-12-211-1/+1
|
* (fast) ethernet -> (Fast) Ethernetbrueffer2004-12-2114-31/+31
| | | | MFC after: 3 days
* Hide/remove various printfs, now that root mounting doesn't seem to explodephk2004-12-201-9/+2
| | | | on people.
* fix a misleading sleep identifier.phk2004-12-201-1/+1
|
* We can only ever get to vgonechrl() from a devfs vnode, so we do notphk2004-12-203-4/+2
| | | | | | | need to reassign the vp->v_op to devfs_specops, we know that is the value already. Make devfs_specops private to devfs.
* Oops, this one isn't readyjulian2004-12-201-625/+87
| | | | back it out until fixed
* Add a couple of KASSERTS to try to diagnose a problem reported.phk2004-12-201-1/+5
|
* Add a bunch of USB definitions from NetBSD.julian2004-12-201-87/+625
| | | | | | | | | | | 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
* Merge in a bunch of USB device and manufacturer definitions..julian2004-12-201-75/+97
| | | | | | Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk) Obtained from: Dragonfly MFC after: 3 days
* Use "KEYWORD: shutdown" so shutdown commands will actually be executed.peadar2004-12-201-0/+1
| | | | Approved by: dougb@
* If PORTNAME is set in a system Makefile then hook into the portspaul2004-12-202-0/+52
| | | | | mechanisms to allow a package to be created. This paves the way for packaging the main tree.
* When stopping a chrooted named, unmount the devfs filesystem frompeadar2004-12-201-0/+8
| | | | | | | the chroot area. This stops "umount -a" failing when dropping to single user. Reviewed by: dougb@
* Only use the current value if there's one IRQ. Some systems returnnjl2004-12-201-8/+8
| | | | | | | | | 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
* Fix compilation for the USE_KQUEUE case.harti2004-12-201-0/+4
| | | | Submitted by: Emil Mikulic <emikulic@dmr.ath.cx>
* Only try to use the 82503 serial interface for the 82557 chipsets. Themux2004-12-201-2/+2
| | | | | | | | | 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
* maxJobs is declared extern in job.h so it cannot be static in job.c.harti2004-12-201-1/+1
| | | | | PR: bin/75210 Submitted by: Andreas Jochens; Robert Millan <rmh@debian.org>
* Sort by month/day/year/login.ru2004-12-201-6/+6
|
* Enable jumbo frames on Yukon variants of sk(4).bz2004-12-202-4/+18
| | | | | | | | | | 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
* Only report a critical battery level once until it's gone non-critical.njl2004-12-201-3/+9
| | | | | | | An improvement would be to check all batteries for critical state before printing a message. Reported by: Kevin Oberman (oberman at es net)
* Note requirement to manually load/configure ancillary wlan modules.sam2004-12-201-0/+9
| | | | Requested by: silby
* add ancillary wlan modules and fixup commentssam2004-12-201-2/+16
| | | | Requested by: silby
* Remove unused variables.pjd2004-12-191-6/+1
|
* - Argument 'flags' in g_mirror_destroy_consumer() function is unsed -pjd2004-12-191-2/+3
| | | | | | 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().
* Don't panic when sigsuspend is interrupted by a cancellation.deischen2004-12-192-4/+14
| | | | PR: 75273
* Some major cleanups.pjd2004-12-191-175/+107
| | | | | | | | | | | | | | | | | | | | | | 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.
* Don't quit on first failure, just skip failures.pjd2004-12-191-6/+6
|
* Add myself.marks2004-12-191-0/+1
|
* Initialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN,dhartmei2004-12-191-3/+5
| | | | | | | | | | | | | | 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
* Move launching the worker thread from a SYSINIT to the first device'snjl2004-12-191-4/+10
| | | | | attach. This fixes the previous behavior where systems without hptmv hardware always had a worker thread running.
* Allocate an additional white space in a username column formaxim2004-12-191-3/+3
| | | | | | | | a long (UT_NAMESIZE) login names. PR: bin/75259 Submitted by: Matthew D.Fuller MFC after: 2 weeks
* We already have ng_fec.4 manpage. And sys/modules is not a correctglebius2004-12-191-8/+0
| | | | place for documentation.
* We have an informative ng_source.4 manpage, which is not installed.glebius2004-12-191-0/+1
|
* Assert queue mutex in ng_dequeue() and ng_queue_rw().glebius2004-12-191-0/+4
|
* Use the accepted abbreviation "kB" for kilobyte, rather than "kb" (whichcperciva2004-12-191-7/+7
| | | | is the common unit for a kilobit).
* Call umask() before opening the lock-file for a queue, to make suregad2004-12-191-1/+2
| | | | | | | | | 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
* Nuke ports-picobsd, it was thrown out a while ago.brueffer2004-12-191-1/+0
| | | | | Approved by: linimon MFC after: 3 days
* In the ethernet-nic-regex:brueffer2004-12-191-5/+6
| | | | | | | | | | | | | - 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
* Add FC929X into the list of supported devices.sobomax2004-12-181-1/+2
| | | | Reminded by: simon
* Use a generic way to back threads out of wait queues when handlingdeischen2004-12-1833-694/+823
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update the StrongArm port to match the current code.cognet2004-12-183-6/+15
| | | | | | - 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.
* Make sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp,cognet2004-12-181-1/+1
| | | | as it has unpredictable results.
* Add missing dependencies of $(OUTPUTS) on source makefiles.ru2004-12-181-1/+6
| | | | Caught by: make -DNOCLEAN buildworld
* Add support for FC929X, which apparently is just a PCI-X version of FC929.sobomax2004-12-181-0/+7
| | | | MFC after: 3 days
* Change terminal state, not terminal typephk2004-12-181-1/+1
|
* Synchronize reference list to the ng_xxx(4) manpages of netgraph nodesrse2004-12-181-0/+27
| | | | | | | with the actually installed manpages by adding the missing ones. This way they can be found more easily. MFC after: 2 days
OpenPOWER on IntegriCloud