summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/ppi.c
diff options
context:
space:
mode:
authorticso <ticso@FreeBSD.org>2002-04-07 22:06:20 +0000
committerticso <ticso@FreeBSD.org>2002-04-07 22:06:20 +0000
commit9a3f81312663b19b02ddfea97e4b640ee587b20d (patch)
tree117501845bc7df8006b6952d220c56503e97b44b /sys/dev/ppbus/ppi.c
parenta3ac60a8cbdce34bcb3dd1546d74625724f2f00b (diff)
downloadFreeBSD-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/ppi.c')
-rw-r--r--sys/dev/ppbus/ppi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/ppi.c b/sys/dev/ppbus/ppi.c
index d4e4968..19b5494 100644
--- a/sys/dev/ppbus/ppi.c
+++ b/sys/dev/ppbus/ppi.c
@@ -137,7 +137,7 @@ static void
ppi_identify(driver_t *driver, device_t parent)
{
- BUS_ADD_CHILD(parent, 0, "ppi", 0);
+ BUS_ADD_CHILD(parent, 0, "ppi", -1);
}
/*
OpenPOWER on IntegriCloud