diff options
author | marius <marius@FreeBSD.org> | 2009-12-22 21:02:46 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2009-12-22 21:02:46 +0000 |
commit | 8051f5835e12d1cba001269e9d65acfa61995b7e (patch) | |
tree | 725ef54a565db62bee14db1a99d5113ab1bfc6d5 /sys/sparc64/pci/apb.c | |
parent | a01fc2fc2d74b75bbe547356005cf64262d95a9d (diff) | |
download | FreeBSD-src-8051f5835e12d1cba001269e9d65acfa61995b7e.zip FreeBSD-src-8051f5835e12d1cba001269e9d65acfa61995b7e.tar.gz |
Enroll these drivers in multipass probing. The motivation behind this
is that the JBus to EBus bridges share the interrupt controller of a
sibling JBus to PCIe bridge (at least as far as the OFW device tree
is concerned, in reality they are part of the same chip) so we have to
probe and attach the latter first. That happens to be also the case
due to the fact that the JBus to PCIe bridges appear first in the OFW
device tree but it doesn't hurt to ensure the right order.
Diffstat (limited to 'sys/sparc64/pci/apb.c')
-rw-r--r-- | sys/sparc64/pci/apb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/pci/apb.c b/sys/sparc64/pci/apb.c index 54087cc..2f4932e 100644 --- a/sys/sparc64/pci/apb.c +++ b/sys/sparc64/pci/apb.c @@ -111,7 +111,7 @@ static device_method_t apb_methods[] = { static devclass_t pcib_devclass; DEFINE_CLASS_0(pcib, apb_driver, apb_methods, sizeof(struct apb_softc)); -DRIVER_MODULE(apb, pci, apb_driver, pcib_devclass, 0, 0); +EARLY_DRIVER_MODULE(apb, pci, apb_driver, pcib_devclass, 0, 0, BUS_PASS_BUS); MODULE_DEPEND(apb, pci, 1, 1, 1); /* APB specific registers */ |