diff options
Diffstat (limited to 'sys/dev/firewire/firewire.c')
-rw-r--r-- | sys/dev/firewire/firewire.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c index 4bb683cccfb7..a4316a636720 100644 --- a/sys/dev/firewire/firewire.c +++ b/sys/dev/firewire/firewire.c @@ -314,7 +314,7 @@ fw_asystart(struct fw_xfer *xfer) static void firewire_identify(driver_t *driver, device_t parent) { - BUS_ADD_CHILD(parent, 0, "firewire", -1); + BUS_ADD_CHILD(parent, 0, "firewire", DEVICE_UNIT_ANY); } static int @@ -452,10 +452,10 @@ firewire_attach(device_t dev) 0, 0, "fw%d_probe", unit); /* Locate our children */ - bus_generic_probe(dev); + bus_identify_children(dev); /* launch attachement of the added children */ - bus_generic_attach(dev); + bus_attach_children(dev); /* bus_reset */ FW_GLOCK(fc); |