diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2019-05-04 16:24:43 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2019-05-04 16:24:43 +0000 |
commit | 73a30b035efb184d012e2e3ee54b8b1ec19ce543 (patch) | |
tree | 6fc8b1b0d99ddc635072d53a617d38d26779cac9 /sys/powerpc/mpc85xx | |
parent | 07be3e3dc968bd38a827961ed8ef1e949142cfa3 (diff) | |
download | src-73a30b035efb184d012e2e3ee54b8b1ec19ce543.tar.gz src-73a30b035efb184d012e2e3ee54b8b1ec19ce543.zip |
powerpc/mpc85xx: Attach MPC85xx PCI bus and root complex at the right pass
No signifcant change, just matches other PCI attachments, attaching at
BUS_PASS_BUS.
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=347127
Diffstat (limited to 'sys/powerpc/mpc85xx')
-rw-r--r-- | sys/powerpc/mpc85xx/pci_mpc85xx.c | 3 | ||||
-rw-r--r-- | sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/powerpc/mpc85xx/pci_mpc85xx.c b/sys/powerpc/mpc85xx/pci_mpc85xx.c index f1278d4d7646..6ae7f9ac4f90 100644 --- a/sys/powerpc/mpc85xx/pci_mpc85xx.c +++ b/sys/powerpc/mpc85xx/pci_mpc85xx.c @@ -225,7 +225,8 @@ static devclass_t fsl_pcib_devclass; DEFINE_CLASS_1(pcib, fsl_pcib_driver, fsl_pcib_methods, sizeof(struct fsl_pcib_softc), ofw_pci_driver); -DRIVER_MODULE(pcib, ofwbus, fsl_pcib_driver, fsl_pcib_devclass, 0, 0); +EARLY_DRIVER_MODULE(pcib, ofwbus, fsl_pcib_driver, fsl_pcib_devclass, 0, 0, + BUS_PASS_BUS); static int fsl_pcib_err_intr(void *v) diff --git a/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c b/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c index 106a800a586c..3357771aeb09 100644 --- a/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c +++ b/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c @@ -103,4 +103,5 @@ static device_method_t fsl_pcib_rc_methods[] = { static devclass_t fsl_pcib_rc_devclass; DEFINE_CLASS_1(pcib, fsl_pcib_rc_driver, fsl_pcib_rc_methods, sizeof(struct fsl_pcib_softc), ofw_pcib_pci_driver); -DRIVER_MODULE(rcpcib, pci, fsl_pcib_rc_driver, fsl_pcib_rc_devclass, 0, 0); +EARLY_DRIVER_MODULE(rcpcib, pci, fsl_pcib_rc_driver, fsl_pcib_rc_devclass, 0, 0, + BUS_PASS_BUS); |