diff options
author | ticso <ticso@FreeBSD.org> | 2002-04-07 22:06:20 +0000 |
---|---|---|
committer | ticso <ticso@FreeBSD.org> | 2002-04-07 22:06:20 +0000 |
commit | 9a3f81312663b19b02ddfea97e4b640ee587b20d (patch) | |
tree | 117501845bc7df8006b6952d220c56503e97b44b /sys/dev/ppbus/lpbb.c | |
parent | a3ac60a8cbdce34bcb3dd1546d74625724f2f00b (diff) | |
download | FreeBSD-src-9a3f81312663b19b02ddfea97e4b640ee587b20d.zip FreeBSD-src-9a3f81312663b19b02ddfea97e4b640ee587b20d.tar.gz |
This makes ppbus childs like lpt and ppi succesfully connect to more
than just the first ppbus.
The child drivers always tried to attach unit 0.
Reviewed by: gallatin
Approved by: gallatin
Diffstat (limited to 'sys/dev/ppbus/lpbb.c')
-rw-r--r-- | sys/dev/ppbus/lpbb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/lpbb.c b/sys/dev/ppbus/lpbb.c index 0284f07..2b3dfff 100644 --- a/sys/dev/ppbus/lpbb.c +++ b/sys/dev/ppbus/lpbb.c @@ -56,7 +56,7 @@ static void lpbb_identify(driver_t *driver, device_t parent) { - BUS_ADD_CHILD(parent, 0, "lpbb", 0); + BUS_ADD_CHILD(parent, 0, "lpbb", -1); } static int |