summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/vpo.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/vpo.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/vpo.c')
-rw-r--r--sys/dev/ppbus/vpo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/vpo.c b/sys/dev/ppbus/vpo.c
index 1c409d5..ad83e2f 100644
--- a/sys/dev/ppbus/vpo.c
+++ b/sys/dev/ppbus/vpo.c
@@ -90,7 +90,7 @@ static void
vpo_identify(driver_t *driver, device_t parent)
{
- BUS_ADD_CHILD(parent, 0, "vpo", 0);
+ BUS_ADD_CHILD(parent, 0, "vpo", -1);
}
/*
OpenPOWER on IntegriCloud