summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix S3 breakage.takawata2002-01-092-2/+4
| | | | | Now AcpiEnterSleep() is light enough, so flushing cache before the function is not too early.
* Increase BSIZEMAX from 8k to 16k, so that we can reliably boot fromiedowse2002-01-092-2/+2
| | | | filesystems with 16k blocks.
* Use KMODDEPS to document module dependencies on libiconv andsheldonh2002-01-091-0/+1
| | | | | | | | | | | | | | libmchain. KMODDEPS seems to be a no-op in HEAD, but is required in RELENG_4, where MODULE_DEPEND seems to be a no-op. Therefore, this change is harmless in -CURRENT, but will fix the dependencies when merged to RELENG_4, where they are currently not registered! PR: kern/33625 Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
* Replace spaces after #defines with tabs; this makes all #defineskbyanc2002-01-092-26/+26
| | | | consistent in their adherence with style(9).
* o Correct a 32/64-bit error in the initialization of aiol_zone, specifically,alc2002-01-091-1/+1
| | | | sizeof(int) is not the size of a pointer.
* Add a new sysinit SI_SUB_DEVFS. Devfs hooks into the kernel at SI_ORDER_FIRST,msmith2002-01-093-2/+21
| | | | | | and devices can be created anytime after that. Print a warning if an atttempt is made to create a device too early.
* GC fast_vfork; it's not actually referenced anywhere.silby2002-01-091-4/+0
| | | | MFC after: 3 weeks
* Move the make_dev call from the cn_probe to a sysinit that runs atjake2002-01-091-1/+9
| | | | SI_SUB_DRIVERS. cnprobe is too early.
* Define the kern.cam sysctl in the cam layer, rather than multiply in severalmsmith2002-01-095-8/+13
| | | | | | | peripheral drivers. Remove Ken's comment to the effect that this needed to be done. Staticise camnet_ih and cambio_ih.
* Staticise a debugging variable.msmith2002-01-091-1/+1
| | | | Submitted by: non
* Staticise the aac devclass.msmith2002-01-095-6/+5
|
* holdsock is gone, remove the prototypealfred2002-01-091-1/+0
|
* Sockets are called 'so' not 'sp'.alfred2002-01-091-8/+8
|
* Revert 1.81; 1.19 fixed this already in a different way.silby2002-01-092-6/+2
|
* Use a sysinit to initialise the devfs hooks in kern_conf.c rather than commonmsmith2002-01-091-3/+10
| | | | | | variables. Reviewed by: phk (in principle)
* Add quirk for DIVA USB Mp3 Player.sobomax2002-01-081-0/+8
| | | | | | | PR: kern/33638 Submitted by: Olexander Kunytsa <kunia@x-telecom.net> MFC after: 3 days (pending re's approval)
* Regenerate from 1.26 pccarddevsimp2002-01-081-2/+23
|
* Catch up to NetBSD:imp2002-01-081-1/+8
| | | | | | | 1.156 pooka; Socket Low-Power CF WLAN 1.155 ichiro; IBM Smart Capture Card II 1.152-154 ichiro; Fujitsu CF EtherCard and FMV-181,182,182A 1.151 christos; Symbol Spectrum24
* - generic Arcnet frameworkfjoe2002-01-0812-0/+2225
| | | | | | - device driver for SMC COM90cx6 Arcnet network adapters Obtained from: NetBSD
* Rename some variables that end up shadowing their namesakes in the NFS clientmsmith2002-01-085-73/+74
| | | | | | code. Reviewed by: peter
* Staticise a couple of debugging variables.msmith2002-01-082-4/+4
|
* Rename a variable that might accidentally be duplicated elsewhere.msmith2002-01-083-5/+5
|
* Avoid doubly defining machdep.pccardmsmith2002-01-082-2/+2
|
* Staticise the coda vfsop pointer.msmith2002-01-084-4/+2
|
* Initialise the bioops vector hack at runtime rather than at link time. Thismsmith2002-01-081-8/+7
| | | | | | avoids the use of common variables. Reviewed by: mckusick
* find_devclass -> devclass_find.msmith2002-01-081-1/+1
|
* Revert change that breaks the joy module. joydevclass must not be static.imp2002-01-081-1/+1
|
* Add upa.h, which I had previously forgotten, to unbreak the sparc64tmm2002-01-081-0/+34
| | | | | | kernel build. Pointy hat to: tmm
* Staticise pfs_vncache, it's not used anywhere else.msmith2002-01-081-1/+1
| | | | Reviewed by: des
* Initialise the intrq_present fields at runtime, not link time. This allowsmsmith2002-01-088-19/+26
| | | | | | us to load protocols at runtime, and avoids the use of common variables. Also fix the ip6_intrq assignment so that it works at all.
* Staticise a couple of things that shouldn't be leaked into thejoe2002-01-082-2/+2
| | | | | | kernel namespace. Submitted by: msmith
* Staticise the fw chain.msmith2002-01-081-1/+1
|
* Staticise the socket list.msmith2002-01-081-1/+1
|
* Staticise private interface lists.msmith2002-01-086-7/+5
|
* Gut this header; since physio_proc_init is never called, the code never doesmsmith2002-01-082-68/+2
| | | | anything more than multiply declare some unused variables.
* Staticise the flash buffer, since it isn't needed anywhere else.msmith2002-01-081-1/+1
|
* Staticise the con_bios and digi_devclass variables, since they aren't neededmsmith2002-01-082-3/+2
| | | | by anything else.
* Staticise the device node pointers.msmith2002-01-081-1/+1
|
* Staticise the joy devclass.msmith2002-01-081-1/+1
|
* Fix a couple of bogus enums.msmith2002-01-081-4/+4
|
* Staticise the amr devclass.msmith2002-01-083-5/+3
|
* Staticise devclasses and some unnecessarily global variables.msmith2002-01-0816-19/+17
|
* Connect smp support to the kernel build.jake2002-01-081-0/+3
|
* Catch up to the latest and greatest.jake2002-01-081-1/+26
|
* Add initial smp support. This gets as far as allowing the secondaryjake2002-01-087-0/+1093
| | | | | | | | | | cpu(s) into the kernel, and sync-ing them up to "kernel" mode so we can send them ipis, which also work. Thanks to John Baldwin for providing me with access to the hardware that made this possible. Parts obtained from: bsd/os
* Setup the normal global pcb register as well on entry from user land.jake2002-01-082-92/+116
| | | | | | | | | | | | | Call critical_enter/critical_exit around (fast) interrupt handlers. All non-threaded interrupts are fast, and the threaded interrupt scheduler is itself a fast interrupt. Assert that an interrupt handler we are about to call is non-zero. Be paranoid about restoring the users global registers. Do it as the last thing before switching to alternate globals (when we magically get our preloaded registers back), and do it with interrupts disabled. Any kind of kernel trap when the globals are not setup properly is bad news. Don't save and restore the kernel g6, it invariably points to the current pcb now.
* Adapt the vectored interrupt handler for receiving ipis. If the secondjake2002-01-082-94/+106
| | | | | | | | data word in an interrupt packet is non-zero, it points to code to execute to handle the ipi, so jump to it instead of enqueueing the packet. It is unclear if we will need queued ipis. Interrupt g7 now points to pcpu, instead of to the per-cpu interrupt queue itself, so use that instead. Interrupt g6 is no longer reserved.
* Use the per-cpu panic stack in the case of a fault with a bad kerneljake2002-01-082-4/+10
| | | | stack.
* Remove ATOMIC_INC_INT macro which has moved elsewhere.jake2002-01-082-22/+0
|
* Catch up to change in compile time assertion interface.jake2002-01-082-3/+3
|
OpenPOWER on IntegriCloud