summaryrefslogtreecommitdiff
path: root/sys/kern/subr_autoconf.c
AgeCommit message (Collapse)Author
2001-09-01Add __HAVE_DEVICE_REGISTER to hp300/alpha (sparc64 already had it) andJason Wright
clean up the arch specific #ifdef's in subr_autoconf.c; from NetBSD. (tested by me on alpha/sparc64 and miod on hp300)
2001-08-31implement autoconf mechanism using device_register(); from NetBSD.Jason Wright
2000-04-09range error; < cd_ndevs, not <=Theo de Raadt
2000-04-09Added config_detach_children, config_activate_children.Constantine Sapuntzakis
Added ref counting to devices: device_ref, device_unref and a new method for devices : ca_zeroref, called when the ref count hits zero. Note that ca_zeroref may be called from interrupt context.
1999-08-08From NetBSD; new device detaching infrastructure.Niklas Hallqvist
1999-08-05From NetBSD; config_defer to defer configuration of a device until after allNiklas Hallqvist
other siblings.
1999-07-23Remove obsolete detach logic in preparation of a newer oneNiklas Hallqvist
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-05-11Formerly reuse of unit numbers of detached devices was impossible, withNiklas Hallqvist
this change starred devices will search from the first allowed unit for such devices and up for free units when attaching. This means you have to rerun config(8) before yopu compile current kernels. FYI, this is a necessity when doing PCMCIA flashcard reading, otherwise you soon run out of unit numbers. I have also added a way to detach all children of a certain device, used in a new PCMCIA framework to come, so you detach all functions on a single PCMCIA card when pulling it out. A few bugs wrt starred devices fixed in the autoconfig_verbose code too. Last and least, fixed some panic messages.
1998-02-20Please GCC 2.8's harsher view of good styleNiklas Hallqvist
1998-01-21Prevent a NULL-deref in the autoconf_verbose caseNiklas Hallqvist
1998-01-20typoNiklas Hallqvist
1998-01-20Provide a way to debug probes. set autoconf_verbose via DDB, orNiklas Hallqvist
option AUTOCONF_VERBOSE=1 in your kernel config.
1997-11-23indentMichael Shalayeff
1997-02-03hp300 needs device_register(), too.Jason Downs
1996-11-21export struct cfdata cfdata[];Michael Shalayeff
1996-10-18As alpha uses device_register, it needs its proto tooNiklas Hallqvist
1996-09-24no mknod in chrootTheo de Raadt
1996-08-15Remove unnecessary prototypeNiklas Hallqvist
1996-07-02prettyTheo de Raadt
1996-07-02-Wall & -Wstrict-prototype fixesNiklas Hallqvist
1996-06-23Added support for user modifiable kernel at boot (-c) /majaMats O Jansson
1996-06-18sick netbsd alpha hack (why not do what other ports do?)Theo de Raadt
1996-05-07Make sure config_init gets called before consinit, as at least one portNiklas Hallqvist
actually uses config_* functions for console attachment. Document config_init should not call malloc as the move was over the mem-init function calls too.
1996-04-29Pull in John Kohl's [jtk@netbsd.org] most recent (15Apr96) APM and PCMCIA workhvozda
(original PCMCIA framework by Stefan Grefen [grefen@convex.com]).
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-19NetBSD 960317 mergeNiklas Hallqvist
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt