Go to file
drochner 08538dce1b Add some extensions to the autoconf framework to better support
loadable drivers and user controlled attach/detach of devices.
An outline was given in
http://mail-index.NetBSD.org/tech-kern/2004/08/11/0000.html
To cite the relevant parts:
-Add a "child detached" and a "rescan" method (both optional)
 to the device driver. (This is added to the "cfattach" for now
 because this is under the driver writer's control. Logically
 it belongs more to the "cfdriver", but this is automatically
 generated now.)
 The "child detached" is called by the autoconf framework
 during config_detach(), after the child's ca_detach()
 function was called but before the device data structure
 is freed.
 The "rescan" is called explicitely, either after a driver LKM
 was loaded, or on user request (see the "control device" below).
-Add a field to the device instance where the "locators" (in
 terms of the autoconf framework), which describe the actual
 location of the device relatively to the parent bus, can be
 stored. This can be used by the "child detached" function
 for easier bookkeeping (no need to lookup by device instance
 pointer). (An idea for the future is to use this for generation
 of optimized kernel config files - like DEC's "doconfig".)
-Pass the locators tuple describing a device's location to
 various autoconf functions to support the previous. And since
 locators do only make sense in relation to an "interface
 attribute", pass this as well.
-Add helper functions to add/remove supplemental "cfdata"
 arrays. Needed for driver LKMs.

There is some code duplication which will hopefully resolved
when all "submatch"-style functions are changed to accept the
locator argument.
Some more cleanup can take place when config(8) issues more
information about locators, in particular the length and default
values. To be done later.
2004-08-17 22:13:18 +00:00
bin If a files date is any time in the future (not six months or more), 2004-08-09 20:14:54 +00:00
contrib/sys Finalize import of the Atheros HAL 0.9.9.13, bringing ath(4) 2004-07-28 08:57:40 +00:00
crypto Disable the "may kill you" message, because: 2004-08-06 13:57:05 +00:00
dist revert the last all changes related to iconv(3). 2004-08-02 13:38:21 +00:00
distrib Don't require <enter> to by typed after setting root's password 2004-08-17 17:12:26 +00:00
doc file-4.10 is out. 2004-08-12 14:05:27 +00:00
etc Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this 2004-08-13 18:08:03 +00:00
games Grammar fix, from ray at raylai org via jmc@openbsd. 2004-06-01 10:10:06 +00:00
gnu Remove some unused variables. 2004-08-09 22:39:32 +00:00
include Fix proto for gethostent to match reality (takes void args) 2004-08-17 04:24:16 +00:00
lib redo the fix for PR 26392 differently: instead of changing the stack bounds 2004-08-17 14:16:00 +00:00
libexec Fixes from (or inspired by) OpenBSD: 2004-08-09 12:56:47 +00:00
regress support for bufferevents; fix signal race; faster timeout insertion; 2004-08-07 21:09:47 +00:00
rescue
sbin Put back one of the sleep()s -- it doesn't affect us in the usual case. 2004-08-13 17:22:39 +00:00
share Drop trailing whitespace; new sentence, new line; 2004-08-17 13:53:09 +00:00
sys Add some extensions to the autoconf framework to better support 2004-08-17 22:13:18 +00:00
tools Build hp700's mkboot as a host tool called nbhp700-mkboot. mkboot also 2004-07-28 09:17:31 +00:00
usr.bin Call doupdate() before copying out of stdscr (avoids PR 26660) 2004-08-14 15:51:08 +00:00
usr.sbin revert a part of the previous. (uint -> u_int) 2004-08-16 05:57:52 +00:00
x11 Need to prefix relative directories with `${.CURDIR}/' so that 2004-08-05 01:28:47 +00:00
build.sh Remove trailing / in pathname. 2004-08-17 14:00:30 +00:00
BUILDING regen (Document -h. From Karsten Kruse in PR 25974. 2004-06-25 15:04:20 +00:00
Makefile The do-lib-libdes BUILDTARGET is unnecessary now we have the DEPLIBS 2004-07-30 07:05:11 +00:00
Makefile.inc
UPDATING postinstall currently does not migrate /usr/X11R6/lib/X11/* -> /etc/X11/* 2004-08-15 16:02:59 +00:00