diff options
author | dfr <dfr@FreeBSD.org> | 1999-05-28 09:25:16 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-05-28 09:25:16 +0000 |
commit | c10ae458eb1914a695353000a7bfde6666cf2a0d (patch) | |
tree | 24cf7146aaf68067486496ae06716cedf2177505 /sys/kern/bus_if.m | |
parent | 0e927447e35265ab29fea7db0f0f455451b0a7b2 (diff) | |
download | FreeBSD-src-c10ae458eb1914a695353000a7bfde6666cf2a0d.zip FreeBSD-src-c10ae458eb1914a695353000a7bfde6666cf2a0d.tar.gz |
* Change device_add_child_after() to device_add_child_ordered() which is
easier to use and more flexible.
* Change BUS_ADD_CHILD to take an order argument instead of a place.
* Define a partial ordering for isa devices so that sensitive devices are
probed before non-sensitive ones.
Diffstat (limited to 'sys/kern/bus_if.m')
-rw-r--r-- | sys/kern/bus_if.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/bus_if.m b/sys/kern/bus_if.m index 1a142a1..6311601 100644 --- a/sys/kern/bus_if.m +++ b/sys/kern/bus_if.m @@ -23,7 +23,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: bus_if.m,v 1.9 1999/05/10 17:06:12 dfr Exp $ +# $Id: bus_if.m,v 1.10 1999/05/14 11:22:39 dfr Exp $ # INTERFACE bus; @@ -107,11 +107,11 @@ METHOD void driver_added { # For busses which use use drivers supporting DEVICE_IDENTIFY to # enumerate their devices, these methods are used to create new # device instances. If place is non-NULL, the new device will be -# added after place in the list of devices. +# added after the last existing child with the same order. # METHOD device_t add_child { device_t dev; - device_t place; + int order; const char *name; int unit; }; |