summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Argh, remove a local customization that snuck in here.jhb2001-01-142-2/+0
| | | | Noticed by: jasone
* Remove I386_CPU from GENERIC. Support for the 386 seriously pessimizesjhb2001-01-142-2/+2
| | | | | performance on other x86 processors. Custom kernels can still be built that will run on the 386.
* Revert the previous revision now that atomic_store_rel_ptr() actuallyjhb2001-01-142-8/+0
| | | | works.
* Fix the atomic_load_acq() and atomic_store_rel() functions to properlyjhb2001-01-142-10/+86
| | | | | | implement memory fences for the 486+. The 386 still uses versions w/o memory fences as all operations on the 386 are not program ordered. The 386 versions are not MP safe.
* struct rangelock: Remove the field 'plex' from the entry. Range locksgrog2001-01-142-7/+3
| | | | | are accessed only via the plex, so there's never any confusion as to the plex number. This value was, as a result, unused.
* format_config: If a subdisk loses its drive (due to a bug which hasgrog2001-01-141-12/+25
| | | | | | | | | | | | | | | not yet been caught), don't save the config with a null drive name (which causes the drive to be renamed "plex" on the next start), put in the text "*invalid*" instead. This is damage control, not a fix. Experienced by: peter Break some long format strings so that they fit in style(9)-sized lines. Remove some "outdentation".
* config_plex: Check that we have specified a plex organization.grog2001-01-141-3/+6
| | | | Tripped over by: "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
* Use ANSI prototype and function definition for dkcksum so that thisimp2001-01-143-9/+6
| | | | | file can be included with C++ again. This appears to have been broken in 1.54 with the introduction of it as an inline function.
* Work around the broken atomic_store_rel_ptr() on the i386 arch by justjhb2001-01-142-0/+8
| | | | | | using atomic_cmpset_rel_ptr() instead for _release_lock_quick(). When atomic_store_rel_ptr() is functional and MP safe, then this can be reverted.
* - Use sched_lock to prevent the mutex name from changing out from under usjhb2001-01-131-3/+5
| | | | | | while we are copying it to the kinfo_proc structure. - Test against p_stat to see if we are blocked on a mutex. - Terminate ki_mtxname with a null char rather than ki_wmesg.
* Fix getsid() to use "=" instead of "==".ben2001-01-131-1/+1
| | | | Not objected to by: audit
* Add 3 new dynamic sysctl's to control the sleep states switched to on ajhb2001-01-132-0/+53
| | | | | | | power button, sleep button, or lid close event. The sysctl's use the ACPI sleep state names S0, S1, S2, S3, S4, S4B, and S5. Reviewed by: iwasaki
* Merged from sys/i386/conf/GENERIC revision from 1.286 to 1.291.nyan2001-01-131-54/+31
|
* Merged from sys/i386/conf/GENERIC.hints revision 1.6 and 1.7.nyan2001-01-131-16/+16
|
* Check __i386__, not i386.nyan2001-01-131-1/+1
|
* Properly compute the size of the final block of superblock summary information.mckusick2001-01-121-1/+1
| | | | Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
* Merged from sys/i386/isa/npx.c revision 1.87.kato2001-01-121-17/+17
|
* Merged from sys/i386/i386/machdep.c revisions 1.427 and 1.428.kato2001-01-122-16/+16
|
* Merged from sys/conf/files.i386 revisions 1.342, 1.344, 1.345 and 1.346.kato2001-01-121-5/+12
|
* Fix a bug overwriting random data when Van Jacobsen header compressionhm2001-01-121-11/+21
| | | | | was used with the isp/isppp driver. Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Change return ??? to return -1 in some #if 0'ed code.jake2001-01-127-14/+14
|
* Remove declaration of airq variable from outer block. There were twobmilekic2001-01-123-3/+3
| | | | | | declarations of a variable of the same name. The one in the outer block was unused and probably just slipped in at one point or another. This silences a compiler warning.
* Remove unused per-cpu variables inside_intr and ss_eflags.jake2001-01-1211-16/+0
|
* Prototype inet_ntoa_r and thereby silence a warning from GCC. The functionbmilekic2001-01-121-0/+1
| | | | is prototyped immediately under inet_ntoa, which is also from libkern.
* Remove useless include of sys/mbuf.h (no longer useful since thebmilekic2001-01-122-2/+0
| | | | mbuf subsystem init was moved to a better place).
* Convert all instances of:benno2001-01-1212-12/+12
| | | | | | | | | | | | | | | #include "quad.h" to: #include <libkern/quad.h> as the former breaks under a kernel build. This change had already been performed on the files that were used in other kernel builds, however the PowerPC kernel build seems to require some that weren't being used. Reviewed by: obrien, peter
* Spell declarations correctly.steve2001-01-122-2/+2
|
* Catch up to the name changes in the hwvol API.jhb2001-01-111-4/+4
|
* - Move all of the hwvol functions into a mixer_hwvol_* namespace, and makejhb2001-01-113-15/+21
| | | | | | | | | | | all of the hwvol members of struct snd_mixer live in a hwvol_* namespace. - When changing the mixer device via the hwvol_mixer sysctl, reset the muted state so that a mute operation on a new device won't try to unmute the new device with the old device's saved volume. - When the volume is muted, if a down or up volume request is received, first restore the saved volume level and then adjust it. Reviewed by: cg
* Woops, use the SYSCTL_STATIC_CHILDREN() macro instead of manuallyjhb2001-01-111-2/+2
| | | | expanding it for _hw_snd.
* remove debug sysctljulian2001-01-111-1/+4
| | | | slight tweek to hook removal. (or is that tweak?)
* Make hook deletion SMP safe.julian2001-01-111-52/+88
|
* Add an exported function ng_rmhook_self() that removes a hookjulian2001-01-113-7/+106
| | | | | | | | from a node, but does it via the locking queue, thus ensuring that the node is locked when it's hook is removed. Add 'deadnode' and 'deadhook' structures for when a node or hook is invalidated but not yet freed. (not yet freed)
* Another brian fix, luckily not in live code.julian2001-01-112-4/+3
|
* Fix uninitialised pointer.julian2001-01-111-0/+1
| | | | Found by: Brian Sommers
* Add itjc ISDN hardware driverhm2001-01-112-8/+24
|
* Add infrastructure for the itjc ISDN hardware driverhm2001-01-111-1/+10
| | | | Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* - Remove compatibility macros for accessing per-cpu variables.jake2001-01-1110-318/+33
| | | | | | | __FreeBSD_version 500015 can be used to detect their disappearance. - Move the symbols for SMP_prvspace and lapic from globals.s to locore.s. - Remove globals.s with extreme prejudice.
* Add the ISDN itjc hardware driver. This driver supports the NETJet-S cardshm2001-01-118-9/+3942
| | | | | | | | | | from Traverse Technology and also the Teles PCI-TJ cards both based on the chipset combination of the Siemens ISAC and the TJNet Tiger300/320 chips. The itjc/i4b_hdlc.h file will hopefully soon be merged with the file /usr/src/sys/i4b/layer1/i4b_hdlc.h. Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Add infrastructure to support the ISDN itjc hardware driver.hm2001-01-112-14/+14
| | | | Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Update the ihfc driver with a patch from the author. He writes: This patchhm2001-01-114-50/+84
| | | | | | | | | enables the driver to work on current (I have not tested the isa part fully, but I suppose it should work). The patching from jlemon caused a crash at probe time. This is probably my fault not having added a comment for "RESET_SOFT" saying: "this resets all!". Submitted by: Hans Petter Selasky <hselasky@c2i.net>
* Unbreak compilation.archie2001-01-112-2/+2
|
* Style improvements for last fix. Should be functionally the same.dwmalone2001-01-111-19/+19
| | | | Submitted by: bde
* Only free items that are not already free or passed to other nodes.julian2001-01-101-1/+2
| | | | Clever work by: Brian Sommers (Brian@freeBSD.org)
* Changes to stop zombie nodes showing up in active node lists.julian2001-01-101-21/+34
| | | | Also some changes resulting from debug work done earlier.
* lmc_ifup() was not checking the state of the interface. This wouldarchie2001-01-101-3/+8
| | | | | | | | | cause the watchdog to (incorrectly) detect the interface state going from down to up one second after lmc_ifup() was called, causing lmc_ifup() to be called again, and resetting everything. Fix by checking the interface state within lmc_ifup(). Submitted by: Darren Croke <djc@packetdesign.com>
* Reinstate 1.19.grog2001-01-101-2/+3
| | | | Prodded by: iedowse
* Disable strstr() if ACPICA is compiled in userland.iwasaki2001-01-102-0/+4
| | | | Reviewed by: msmith
* Add session argument to *close_disk, allowing to set session type on fixate.sos2001-01-1015-61/+54
| | | | | | Add support for different blank/erase types. Update headers.
* Add session argument to *CLOSEDISK, allowing to set session type on fixate.sos2001-01-101-4/+7
| | | | Add defines for the different blank/erase types.
OpenPOWER on IntegriCloud