Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-30 | Devices hot plugging support. | Alexander Yurchenko | |
The hotplug pseudo-device passes device attachment and detachment events to userland. When a device attaches or detaches, the corresponding event is queued. The events can then be obtained from the queue through the read(2) call on the /dev/hotplug device file. Each event consists of event type (attach/detach), device class (DV_*) and device name (sd1 e.g.). We have hotplug pseudo-device on alpha, amd64, i386, macppc and sparc64. Since it was tested only on i386 other archs has it commented out in GENERIC until tested. The idea liked peter@ tedu@ drahn@ millert@ marco@ henning@. Ok deraadt@. | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-03 | string fixes; tedu ok | Theo de Raadt | |
2003-04-19 | Tweak previous sprintf -> snprintf fix to eliminate unnecessary | Kenneth R Westerback | |
intermediate variable. Suggested by deraadt@. ok henning@ millert@ tdeval@ | |||
2003-03-30 | Use snprintf() to simplify device name construction, removing now | Kenneth R Westerback | |
superfluous variables and the function 'number()'. ok deraadt@ and millert@ | |||
2002-10-06 | Remove some '#if 0' cruft. | Artur Grabowski | |
2002-04-24 | Introduce a new file, machine/internal_types.h, to hold that specific arch | Marc Espie | |
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others. | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-09-01 | Add __HAVE_DEVICE_REGISTER to hp300/alpha (sparc64 already had it) and | Jason 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-31 | implement autoconf mechanism using device_register(); from NetBSD. | Jason Wright | |
2000-04-09 | range error; < cd_ndevs, not <= | Theo de Raadt | |
2000-04-09 | Added 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-08 | From NetBSD; new device detaching infrastructure. | Niklas Hallqvist | |
1999-08-05 | From NetBSD; config_defer to defer configuration of a device until after all | Niklas Hallqvist | |
other siblings. | |||
1999-07-23 | Remove obsolete detach logic in preparation of a newer one | Niklas Hallqvist | |
1999-01-11 | panic prints a newline for you, don't do it in the panic string | Todd C. Miller | |
1998-05-11 | Formerly reuse of unit numbers of detached devices was impossible, with | Niklas 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-20 | Please GCC 2.8's harsher view of good style | Niklas Hallqvist | |
1998-01-21 | Prevent a NULL-deref in the autoconf_verbose case | Niklas Hallqvist | |
1998-01-20 | typo | Niklas Hallqvist | |
1998-01-20 | Provide a way to debug probes. set autoconf_verbose via DDB, or | Niklas Hallqvist | |
option AUTOCONF_VERBOSE=1 in your kernel config. | |||
1997-11-23 | indent | Michael Shalayeff | |
1997-02-03 | hp300 needs device_register(), too. | Jason Downs | |
1996-11-21 | export struct cfdata cfdata[]; | Michael Shalayeff | |
1996-10-18 | As alpha uses device_register, it needs its proto too | Niklas Hallqvist | |
1996-09-24 | no mknod in chroot | Theo de Raadt | |
1996-08-15 | Remove unnecessary prototype | Niklas Hallqvist | |
1996-07-02 | pretty | Theo de Raadt | |
1996-07-02 | -Wall & -Wstrict-prototype fixes | Niklas Hallqvist | |
1996-06-23 | Added support for user modifiable kernel at boot (-c) /maja | Mats O Jansson | |
1996-06-18 | sick netbsd alpha hack (why not do what other ports do?) | Theo de Raadt | |
1996-05-07 | Make sure config_init gets called before consinit, as at least one port | Niklas 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-29 | Pull in John Kohl's [jtk@netbsd.org] most recent (15Apr96) APM and PCMCIA work | hvozda | |
(original PCMCIA framework by Stefan Grefen [grefen@convex.com]). | |||
1996-04-21 | partial sync with netbsd 960418, more to come | Theo de Raadt | |
1996-04-19 | NetBSD 960317 merge | Niklas Hallqvist | |
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |