summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Grrrr. Fix the order of the #define's so atomic_cmpset_{acq,rel}_longjhb2000-10-201-5/+5
| | | | are defined before atomic_cmpset_{acq,rel}_ptr tries to call them.
* Fix the atomic_cmpset_{acq,rel}_ptr() functions to do proper type-casting.jhb2000-10-201-4/+18
|
* note the new preliminary support of cardbus stuffjon2000-10-202-0/+22
|
* remove old pccbb bridge code.jon2000-10-203-2701/+0
| | | | (argh, I thought I already did this in the original commmit)
* update URL and copyrightwosch2000-10-201-2/+2
|
* Added upcoming FreeBSD 4.2wosch2000-10-201-0/+3
|
* Introduce the M_ZERO flag to malloc(9)phk2000-10-203-0/+6
| | | | | | | | | | | | | | Instead of: foo = malloc(sizeof(foo), M_WAIT); bzero(foo, sizeof(foo)); You can now (and please do) use: foo = malloc(sizeof(foo), M_WAIT | M_ZERO); In the future this will enable us to do idle-time pre-zeroing of malloc-space.
* Redirect the stderr of dd to /dev/null so the user doesn't see ratherjkh2000-10-201-2/+2
| | | | | weird dd output on bootup as /dev/random is being reseeded. Also, can't this happen in the background since /dev/random blocks?
* Increase entropy file size from 4096 to 16384 because 4096 actually is notache2000-10-201-1/+1
| | | | enough to cause reseeding
* Add actual URL for XMAC II datasheet in comments.archie2000-10-202-4/+8
|
* Add i815 host to PCI bridge IDache2000-10-202-0/+6
|
* Return -10000 in pci_hostb_probe to allow agp driver (disabled otherwise)ache2000-10-202-2/+2
|
* Add i815 Host to Hubache2000-10-202-0/+6
|
* Add i815 IDsache2000-10-201-1/+19
|
* Save a few CPU cycles in IP fragmentation code.ru2000-10-201-3/+1
|
* add -I option, ``Don't get and use a list of freesanpei2000-10-204-2/+11
| | | | | | | | | IRQs from kernel.''.. With IBM ThinkPad600. ``sio1'' was disabled in BIOS and irq 3 was free (also not listed in dmesg), I think. But I could not use irq 3 for PC-Card with new(PIOCSRESOURCE ioctl enabled) pccardd.
* Submitted by: Hans Petter Selasky <hselasky@c2i.net>hm2000-10-202-17/+33
| | | | Remove double 0x7e flags between hdlc-frames.
* Used kbio.h and consio.h instead of machine/console.h.kato2000-10-204-6/+6
|
* Merged from sys/i386/isa/npx.c revision 1.86.kato2000-10-201-1/+1
|
* Merged from sys/i386/isa/clock.c revision 1.160.kato2000-10-203-9/+9
|
* Merged from sys/i386/i386/machdep.c revisions 1.417 and 1.418.kato2000-10-202-34/+20
|
* Add missing 'unit' coderoger2000-10-201-0/+4
| | | | Submitted by: Brad L. Chisholm <blc@bsdwins.com>
* Catch up to moving headers:jhb2000-10-2068-87/+76
| | | | | - machine/ipl.h -> sys/ipl.h - machine/mutex.h -> sys/mutex.h
* GC the unused safepri variable.jhb2000-10-201-1/+0
|
* Remove unnecessary machine/mutex.h include.jhb2000-10-202-2/+0
|
* - GC some #if 0'd code regarding the non-existant safepri variable.jhb2000-10-201-17/+6
| | | | | - Don't dink with the witness state of Giant unless we actually own it during mi_switch().
* Actually harvest interrupt threads when the last handler is removed from ajhb2000-10-206-12/+102
| | | | thread.
* - machine/mutex.h -> sys/mutex.hjhb2000-10-202-4/+4
| | | | | - Use cpu_throw() instead of cpu_switch() during cpu_exit() since we don't need to save our previous state.
* Catch up to SMP_DEBUG -> MUTEX_DEBUG.jhb2000-10-202-4/+4
|
* - machine/mutex.h -> sys/mutex.hjhb2000-10-205-9/+9
| | | | | - Catch up to the MI mutex structure due to saveflags,saveipl,savepsr becoming saveintr.
* - machine/mutex.h -> sys/mutex.hjhb2000-10-204-21/+21
| | | | - Use MUTEX_DECLARE() and MTX_COLD for Giant and sched_lock.
* - machine/mutex.h -> sys/mutex.hjhb2000-10-205-15/+15
| | | | | - machine/ipl.h -> sys/ipl.h - Use MUTEX_DECLARE() for clock_lock
* - machine/mutex.h -> sys/mutex.hjhb2000-10-201-3/+3
| | | | - Use MUTEX_DECLARE() and MTX_COLD for vm86pcb_lock
* - machine/mutex.h -> sys/mutex.hjhb2000-10-201-4/+3
| | | | - Use MUTEX_DECLARE() and MTX_COLD for the malloc_mtx mutex
* - machine/mutex.h -> sys/mutex.hjhb2000-10-201-5/+4
| | | | | - The initial lock_mtx mutex used in the lockmgr code is initialized very early, so use MUTEX_DECLARE() and MTX_COLD.
* - Make the mutex code almost completely machine independent. This greatlyjhb2000-10-2017-4127/+2476
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reducues the maintenance load for the mutex code. The only MD portions of the mutex code are in machine/mutex.h now, which include the assembly macros for handling mutexes as well as optionally overriding the mutex micro-operations. For example, we use optimized micro-ops on the x86 platform #ifndef I386_CPU. - Change the behavior of the SMP_DEBUG kernel option. In the new code, mtx_assert() only depends on INVARIANTS, allowing other kernel developers to have working mutex assertiions without having to include all of the mutex debugging code. The SMP_DEBUG kernel option has been renamed to MUTEX_DEBUG and now just controls extra mutex debugging code. - Abolish the ugly mtx_f hack. Instead, we dynamically allocate seperate mtx_debug structures on the fly in mtx_init, except for mutexes that are initiated very early in the boot process. These mutexes are declared using a special MUTEX_DECLARE() macro, and use a new flag MTX_COLD when calling mtx_init. This is still somewhat hackish, but it is less evil than the mtx_f filler struct, and the mtx struct is now the same size with and without mutex debugging code. - Add some micro-micro-operation macros for doing the actual atomic operations on the mutex mtx_lock field to make it easier for other archs to override/optimize mutex ops if needed. These new tiny ops also clean up the code in some places by replacing long atomic operation function calls that spanned 2-3 lines with a short 1-line macro call. - Don't call mi_switch() from mtx_enter_hard() when we block while trying to obtain a sleep mutex. Calling mi_switch() would bogusly release Giant before switching to the next process. Instead, inline most of the code from mi_switch() in the mtx_enter_hard() function. Note that when we finally kill Giant we can back this out and go back to calling mi_switch().
* - Expand the set of atomic operations to optionally include memory barriersjhb2000-10-204-61/+592
| | | | | | | | | | | | | | | | | | | | | | | | | | in most of the atomic operations. Now for these operations, you can use the normal atomic operation, you can use the operation with a read barrier, or you can use the operation with a write barrier. The function names follow the same semantics used in the ia64 instruction set. An atomic operation with a read barrier has the extra suffix 'acq', due to it having "acquire" semantics. An atomic operation with a write barrier has the extra suffix 'rel'. These suffixes are inserted between the name of the operation to perform and the typename. For example, the atomic_add_int() function now has 3 variants: - atomic_add_int() - this is the same as the previous function - atomic_add_acq_int() - this function combines the add operation with a read memory barrier - atomic_add_rel_int() - this function combines the add operation with a write memory barrier - Add 'ptr' to the list of types that we can perform atomic operations on. This allows one to do atomic operations on uintptr_t's. This is useful in the mutex code, for example, because the actual mutex lock is a pointer. - Add two new operations for doing loads and stores with memory barriers. The new load operations use a read barrier before the load, and the new store operations use a write barrier after the load. For example, atomic_load_acq_int() will atomically load an integer as well as enforcing a read barrier.
* Axe the barrier_{read,write,rw}() helper functions as this method ofjhb2000-10-209-203/+0
| | | | | | | doing memory barriers doesn't really scale well for the ia64. Also, memory barriers are more a property of the CPU than bus space. Requested by: dfr
* Add -L option to limit the package status characters the user *doesn't*bmah2000-10-202-6/+33
| | | | | | want to see. Submitted by: Doug Barton <DougB@gorean.org>
* Make pkg_version -c -l work.bmah2000-10-201-2/+3
| | | | | PR: bin/19019 Submitted by: Stijn Hoop <stijn@win.tue.nl>
* Remove bogus xref.mpp2000-10-201-1/+0
| | | | | PR: docs/22125 Submitted by: Keith Jones <keith@sse0691.bri.hp.com>
* Convert the type of bus_space_handle_t of pc98 from structure intokato2000-10-207-164/+232
| | | | | | pointer to structure. Reviewed by: nyan
* Add the quirk entry for the Sony Memory Stick Adapter.n_hibma2000-10-201-1/+14
| | | | Add NO_SYNQ_CACHE to the Sony DSC camera entry.
* Kill the correct dhclient on detach of the ethernet device.n_hibma2000-10-201-2/+2
| | | | | Submitted by: Josef Karthauser <joe@freebsd.org> Submitted by: Chris Dillon <cdillon@wolves.k12.mo.us>
* Bugfix: The data is not stored only in the first cblock, calculate then_hibma2000-10-201-1/+8
| | | | | | | | | | length of the data properly. This should be moved into a tty_subr function. Also, disanle the setting of the CDC_CM_OVER_DATA flag. It breaks some modems. I don't think that ther actually is a modem that needs this. Submitted by: Brad Karp <bkarp@ICSI.Berkeley.EDU>
* Fixup a couple of ether card entries to use the new pccard_etherjoe2000-10-201-2/+4
| | | | calling convention.
* Regen.n_hibma2000-10-202-2/+9
|
* Add the Sony MSC Memory Stick Adaptor (in the Sony PCS laptops)n_hibma2000-10-201-0/+1
|
* Correct the text on RETURN VALUES.n_hibma2000-10-201-1/+3
|
* execsw_set hasn't been used for a while and does not exist.peter2000-10-201-4/+0
|
OpenPOWER on IntegriCloud