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/pcfclock.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/pcfclock.c')
-rw-r--r-- | sys/dev/ppbus/pcfclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ppbus/pcfclock.c b/sys/dev/ppbus/pcfclock.c index d7af2ae..ef70700 100644 --- a/sys/dev/ppbus/pcfclock.c +++ b/sys/dev/ppbus/pcfclock.c @@ -123,7 +123,7 @@ static void pcfclock_identify(driver_t *driver, device_t parent) { - BUS_ADD_CHILD(parent, 0, PCFCLOCK_NAME, 0); + BUS_ADD_CHILD(parent, 0, PCFCLOCK_NAME, -1); } static int |