diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index 5f02606004d7..9d67f91357a3 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -209,7 +209,7 @@ static driver_t sf_driver = { static devclass_t sf_devclass; DRIVER_MODULE(if_sf, pci, sf_driver, sf_devclass, 0, 0); -DRIVER_MODULE(miibus, sf, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_sf, miibus_driver, miibus_devclass, 0, 0); #define SF_SETBIT(sc, reg, x) \ csr_write_4(sc, reg, csr_read_4(sc, reg) | x) diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c index af3ae7ef85b4..23f9ca90e8a0 100644 --- a/sys/dev/vr/if_vr.c +++ b/sys/dev/vr/if_vr.c @@ -203,7 +203,7 @@ static driver_t vr_driver = { static devclass_t vr_devclass; DRIVER_MODULE(if_vr, pci, vr_driver, vr_devclass, 0, 0); -DRIVER_MODULE(miibus, vr, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_vr, miibus_driver, miibus_devclass, 0, 0); #define VR_SETBIT(sc, reg, x) \ CSR_WRITE_1(sc, reg, \ diff --git a/sys/pci/if_dm.c b/sys/pci/if_dm.c index 1bbcae68fcba..356eafd5f94e 100644 --- a/sys/pci/if_dm.c +++ b/sys/pci/if_dm.c @@ -191,7 +191,7 @@ static driver_t dm_driver = { static devclass_t dm_devclass; DRIVER_MODULE(if_dm, pci, dm_driver, dm_devclass, 0, 0); -DRIVER_MODULE(miibus, dm, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_dm, miibus_driver, miibus_devclass, 0, 0); #define DM_SETBIT(sc, reg, x) \ CSR_WRITE_4(sc, reg, \ diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 6b48b4988199..c7bf0b478abc 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -229,7 +229,7 @@ static driver_t rl_driver = { static devclass_t rl_devclass; DRIVER_MODULE(if_rl, pci, rl_driver, rl_devclass, 0, 0); -DRIVER_MODULE(miibus, rl, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_rl, miibus_driver, miibus_devclass, 0, 0); #define EE_SET(x) \ CSR_WRITE_1(sc, RL_EECMD, \ diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c index 5f02606004d7..9d67f91357a3 100644 --- a/sys/pci/if_sf.c +++ b/sys/pci/if_sf.c @@ -209,7 +209,7 @@ static driver_t sf_driver = { static devclass_t sf_devclass; DRIVER_MODULE(if_sf, pci, sf_driver, sf_devclass, 0, 0); -DRIVER_MODULE(miibus, sf, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_sf, miibus_driver, miibus_devclass, 0, 0); #define SF_SETBIT(sc, reg, x) \ csr_write_4(sc, reg, csr_read_4(sc, reg) | x) diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index fe3f50c3af90..419c176719c1 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -186,7 +186,7 @@ static driver_t sis_driver = { static devclass_t sis_devclass; DRIVER_MODULE(if_sis, pci, sis_driver, sis_devclass, 0, 0); -DRIVER_MODULE(miibus, sis, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_sis, miibus_driver, miibus_devclass, 0, 0); #define SIS_SETBIT(sc, reg, x) \ CSR_WRITE_4(sc, reg, \ diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index aea212e9f14f..2d6d31eb215a 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -173,7 +173,7 @@ static driver_t ste_driver = { static devclass_t ste_devclass; DRIVER_MODULE(if_ste, pci, ste_driver, ste_devclass, 0, 0); -DRIVER_MODULE(miibus, ste, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_ste, miibus_driver, miibus_devclass, 0, 0); #define STE_SETBIT4(sc, reg, x) \ CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | x) diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c index 48df6f5bf36d..f848d0a3deb9 100644 --- a/sys/pci/if_tl.c +++ b/sys/pci/if_tl.c @@ -362,7 +362,7 @@ static driver_t tl_driver = { static devclass_t tl_devclass; DRIVER_MODULE(if_tl, pci, tl_driver, tl_devclass, 0, 0); -DRIVER_MODULE(miibus, tl, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_tl, miibus_driver, miibus_devclass, 0, 0); static u_int8_t tl_dio_read8(sc, reg) struct tl_softc *sc; diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c index af3ae7ef85b4..23f9ca90e8a0 100644 --- a/sys/pci/if_vr.c +++ b/sys/pci/if_vr.c @@ -203,7 +203,7 @@ static driver_t vr_driver = { static devclass_t vr_devclass; DRIVER_MODULE(if_vr, pci, vr_driver, vr_devclass, 0, 0); -DRIVER_MODULE(miibus, vr, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_vr, miibus_driver, miibus_devclass, 0, 0); #define VR_SETBIT(sc, reg, x) \ CSR_WRITE_1(sc, reg, \ diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c index 5e8f68d8d1c4..f5770bd3776e 100644 --- a/sys/pci/if_wb.c +++ b/sys/pci/if_wb.c @@ -230,7 +230,7 @@ static driver_t wb_driver = { static devclass_t wb_devclass; DRIVER_MODULE(if_wb, pci, wb_driver, wb_devclass, 0, 0); -DRIVER_MODULE(miibus, wb, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_wb, miibus_driver, miibus_devclass, 0, 0); #define WB_SETBIT(sc, reg, x) \ CSR_WRITE_4(sc, reg, \ diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 9f19cf650731..7358dd8b8329 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -285,7 +285,7 @@ static driver_t xl_driver = { static devclass_t xl_devclass; DRIVER_MODULE(if_xl, pci, xl_driver, xl_devclass, 0, 0); -DRIVER_MODULE(miibus, xl, miibus_driver, miibus_devclass, 0, 0); +DRIVER_MODULE(miibus, if_xl, miibus_driver, miibus_devclass, 0, 0); /* * Murphy's law says that it's possible the chip can wedge and