Date: Sat, 4 May 2019 16:24:43 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r347127 - head/sys/powerpc/mpc85xx Message-ID: <201905041624.x44GOhBU098966@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sat May 4 16:24:43 2019 New Revision: 347127 URL: https://svnweb.freebsd.org/changeset/base/347127 Log: 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 Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx.c head/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx.c ============================================================================== --- head/sys/powerpc/mpc85xx/pci_mpc85xx.c Sat May 4 13:58:45 2019 (r347126) +++ head/sys/powerpc/mpc85xx/pci_mpc85xx.c Sat May 4 16:24:43 2019 (r347127) @@ -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) Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c ============================================================================== --- head/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c Sat May 4 13:58:45 2019 (r347126) +++ head/sys/powerpc/mpc85xx/pci_mpc85xx_pcib.c Sat May 4 16:24:43 2019 (r347127) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905041624.x44GOhBU098966>