summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Track the number of wired pages to avoid unwiring unwired pages.tanimura2002-03-051-0/+1
| | | | Reviewed by: alfred
* Unbreak bridge.ko. Replace an unresolved symbol with the actions itcjc2002-03-051-1/+3
| | | | | | | | was meant to take. Submitted by: luigi Approved by: luigi MFC after: 3 days
* Add cloning support to the loopback interface.brooks2002-03-041-56/+99
| | | | Submitted by: mux
* Change the network interface cloning API so the destroy function returnsbrooks2002-03-046-11/+14
| | | | | | | | an int errorcode instead of void in preperation for merging cloning of the loopback device. Submitted by: mux MFC after: 2 weeks
* Update header.sos2002-03-043-3/+3
|
* o Create vm_pageq_enqueue() to encapsulate code that is duplicated timealc2002-03-043-30/+24
| | | | | | and again in vm_page.c and vm_pageq.c. o Delete unusused prototypes. (Mainly a result of the earlier renaming of various functions from vm_page_*() to vm_pageq_*().)
* Add generalized power profile code.iwasaki2002-03-0413-95/+267
| | | | | | | | | | | | | This makes other power-management system (APM for now) to be able to generate power profile change events (ie. AC-line status changes), and other kernel components, not only the ACPI components, can be notified the events. - move subroutines in acpi_powerprofile.c (removed) to kern/subr_power.c - call power_profile_set_state() also from APM driver when AC-line status changes - add call-back function for Crusoe LongRun controlling on power profile changes for a example
* Add PSEUDOFS.dfr2002-03-041-1/+2
|
* Add emulation support for PAL_VM_SUMMARY.dfr2002-03-042-2/+11
|
* Add support for starting secondary cpus in kernel, as opposed to relyingjake2002-03-049-188/+342
| | | | | | | | | | | | | | | on the loader to do it. Improve smp startup code to be less racy and to defer certain things until the right time. This almost boots single user on my dual ultra 60, it is still very fragile: SMP: AP CPU #1 Launched! Enter full pathname of shell or RETURN for /bin/sh: # ls Debugger("trapsig") Stopped at Debugger+0x1c: ta %xcc, 1 db> heh No such command db>
* Dig the information about which tlb slots were used to map the kernel outjake2002-03-042-10/+21
| | | | of the metadata passed by the loader.
* Allocate tlb contexts on the fly in cpu_switch, instead of statically 1 to 1jake2002-03-048-136/+297
| | | | | | | | | | | | | with pmaps. When the context numbers wrap around we flush all user mappings from the tlb. This makes use of the array indexed by cpuid to allow a pmap to have a different context number on a different cpu. If the context numbers are then divided evenly among cpus such that none are shared, we can avoid sending tlb shootdown ipis in an smp system for non-shared pmaps. This also removes a limit of 8192 processes (pmaps) that could be active at any given time due to running out of tlb contexts. Inspired by: the brown book Crucial bugfix from: tmm
* Fix obscure problems with vfork where part of the parent's stack could bejake2002-03-041-8/+40
| | | | | | | | | | | | | clobbered by the child. This is more complicated than usual because the window that could get clobbered is pushed in kernel mode, so a lot of registers would have to be saved in other registers in userland and we don't have enough. What we do have is space in the pcb to temporarily store user windows that were spilled in kernel mode, but could not be immediately stored to the user stack. So we copy in the parent's topmost window and save it in the pcb, and arrange for it to be copied back out when the child is done frobbing the stack. Reviewed by: tmm
* Support for USB fm radio.alfred2002-03-049-0/+541
| | | | Submitted by: David Yeske <dyeske@yahoo.com>
* Add a bunch of cards from NetBSD and maybe other places.imp2002-03-041-0/+5
| | | | | | | Ericsson Wireless Lan Simple Tech Spectrum 24 Alt Socket LP WLAN CF Symbol LA4100
* Suspend and resume related patches from Toshikazu Ichinoseki ↵orion2002-03-041-12/+85
| | | | | | <t.ichinoseki@nifty.com>. PR's: kern/35484, kern/35230.
* Call vm_pageq_remove_nowakeup() rather than duplicating it.alc2002-03-031-8/+2
|
* Fix bug in mb_alloc that made systems configured withbmilekic2002-03-031-3/+1
| | | | | | | | | | PAGE_SIZE / MCLBYTES == 1 crash. Fix them by changing the appropriate "allocate new page and bucket" code in mb_alloc to use the macro for properly grabbing an allocated object from a bucket, the one that checks whether the bucket is empty. This should allow ken to continue testing zero-copy stuff on -CURRENT. Noticed and provided debug info: ken
* Provide infrastructure for harvesting SWI entropy.markm2002-03-032-1/+5
|
* Massive lint-inspired cleanup.markm2002-03-037-74/+95
| | | | | | | Remove unneeded includes. Deal with unused function arguments. Resolve a boatload of signed/unsigned imcompatabilities. Etc.
* * Include <sys/ucontext.h> so that this compiles again.dfr2002-03-031-12/+15
| | | | | | | * Move the section which manipulates ia64_pal_base to after cninit() so that we don't risk printing anything before we have a console. * Don't call ia64_probe_sapics() for a SKI build. This should really be dependant on ACPICA being present or something.
* Forgot this litte patch, scale the individual disk size from thesos2002-03-031-3/+3
| | | | arrays total size depending on width of the array.
* Major update of the ATA RAID code, part 3:sos2002-03-037-284/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add code to properly detach/attach disks that are part of a RAID. Mark a disk that is attached on an ATA channel belonging to a RAID as a spare disk that can be used for rebuilding failed RAID1's. Add support for rebuilding failed RAID1's. Several fixes to the detach/attach code. For replacing a disk in a failed RAID1 do the following: Find the controller channel# of the failed disk. Exec 'atacontrol detach <channel#>' to free the disk from the system. Replace the failed disk with a new one of at least the same size. If your have your disks in drawers/enclosures this can be done with the system still running. Exec 'atacontrol attach <channel#>' to add the disk to the system and mark it as a valid spare for rebuild. Exec 'atacontrol rebuild <array#>' The system will rebuild the array on the fly, the array can still be used during this, although with slower performance. Please let me know of any problems with this! Sponsored by: Advanis Inc. MFC after: 2 weeks
* Add new command definition for rebuilding RAID arrays.sos2002-03-031-0/+1
|
* Add two IrDA controller ID: IBM TP240(Probably NSC compatible), and SMC IrCCtakawata2002-03-031-0/+2
| | | | controller.
* Check the version of ex_anon (a `struct xucred') before using it todd2002-03-031-0/+10
| | | | | | fill out netc_anon (a `struct ucred'), and add an XXX around the entire operation since it isn't clear whether it's doing the right thing with things like cr_uidinfo and cr_prison.
* Get the generic name rightimp2002-03-031-1/+1
|
* Remove some long dead code.alc2002-03-021-9/+0
|
* MFi386: revision 1.394.nyan2002-03-021-1/+1
|
* MFi386: revision 1.498.nyan2002-03-022-4/+4
|
* Fix lock leakage and late unlock.tanimura2002-03-022-3/+4
| | | | Submitted by: bde
* Deverbosified previous 2 commits (removed the rotted list of reasons whybde2002-03-021-3/+1
| | | | | | <sys/systm.h> is included instead of adding to it). Approved by: previous committer
* Fixed a printf format error.bde2002-03-021-1/+3
|
* Make 128-bit WEP (aka 104-bit WEP) work with Prism based cards.brooks2002-03-021-3/+6
| | | | | Submitted by: Thomas Skibo <skibo@pacbell.net> MFC after: 3 days
* Make it compile again.mjacob2002-03-011-1/+1
|
* Fix mcpcia.c so it compiles again.mjacob2002-03-011-1/+2
|
* Add support for VT8233.orion2002-03-012-75/+200
|
* We don't need KTR_COMPILE in assym.s, its already in opt_global.h. Addjake2002-03-011-1/+4
| | | | assyms for more ktr trace classes.
* Use a better trace class for ktr traces in the tlb fault handlers, which arejake2002-03-012-104/+108
| | | | rather loud.
* missing splxume2002-03-011-0/+1
| | | | | Obtained from: KAME MFC after: 1 week
* (when new sa is preferred than old sa)ume2002-03-011-9/+9
| | | | | | | even if we fail to send pfkey message, remove the old sa. Obtained from: KAME MFC after: 1 week
* Fix syntax error, where this was not compile tested after style(9)'ing.obrien2002-03-011-1/+1
|
* Catch up to change in tte format.jake2002-03-011-3/+3
| | | | | Forgetten by: jake Submitted by: tmm
* Use vnode_if.awk rather than vnode_if.plobrien2002-03-013-6/+8
|
* Return vnode_if back to its AWK roots.obrien2002-03-011-289/+233
| | | | | It became a Perl script in rev 1.20. This removes one more dependence on perl for the kernel build.
* - Move a comment from being on the same line as a #ifdef to the linearr2002-02-287-7/+14
| | | | | | | following it. This should have gone in the previous commit, but misviewed Bruce's patch. Requested by: bde
* Make it a bit clearer where this file is to be used and where itmarkm2002-02-282-0/+4
| | | | | | should not be. (Comments only) Inspired by: bde
* add inlines for bswap*.gallatin2002-02-281-5/+38
| | | | smaller versions of the byteswap routines were obtained from NetBSD
* recover from namespace collision caused by un-static'ing pci_alloc_resource()gallatin2002-02-288-8/+8
| | | | in rev 1.187 of sys/dev/pci/pci.c
* Adjust the includes a bit.markm2002-02-281-4/+3
| | | | Requested by: bde
OpenPOWER on IntegriCloud