Remove unused miibus_devclass and miibus_fdt_devclass.
This commit is contained in:
parent
916a5d8ad5
commit
3e38757d4c
@ -2018,7 +2018,7 @@ static driver_t awg_driver = {
|
||||
static devclass_t awg_devclass;
|
||||
|
||||
DRIVER_MODULE(awg, simplebus, awg_driver, awg_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, awg, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, awg, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(awg, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(awg, miibus, 1, 1, 1);
|
||||
MODULE_DEPEND(awg, aw_sid, 1, 1, 1);
|
||||
|
@ -1171,7 +1171,7 @@ static driver_t emac_driver = {
|
||||
static devclass_t emac_devclass;
|
||||
|
||||
DRIVER_MODULE(emac, simplebus, emac_driver, emac_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, emac, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, emac, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(emac, miibus, 1, 1, 1);
|
||||
MODULE_DEPEND(emac, ether, 1, 1, 1);
|
||||
|
||||
|
@ -240,7 +240,7 @@ MODULE_DEPEND(cpswss, etherswitch, 1, 1, 1);
|
||||
#endif
|
||||
|
||||
DRIVER_MODULE(cpsw, cpswss, cpswp_driver, cpswp_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, cpsw, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, cpsw, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(cpsw, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(cpsw, miibus, 1, 1, 1);
|
||||
|
||||
|
@ -1825,6 +1825,6 @@ static driver_t gen_driver = {
|
||||
static devclass_t gen_devclass;
|
||||
|
||||
DRIVER_MODULE(genet, simplebus, gen_driver, gen_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, genet, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, genet, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(genet, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(genet, miibus, 1, 1, 1);
|
||||
|
@ -178,7 +178,7 @@ static devclass_t ae_devclass;
|
||||
DRIVER_MODULE(ae, pci, ae_driver, ae_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ae, ae_devs,
|
||||
nitems(ae_devs));
|
||||
DRIVER_MODULE(miibus, ae, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ae, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(ae, pci, 1, 1, 1);
|
||||
MODULE_DEPEND(ae, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(ae, miibus, 1, 1, 1);
|
||||
|
@ -183,7 +183,7 @@ static devclass_t age_devclass;
|
||||
DRIVER_MODULE(age, pci, age_driver, age_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, age, age_devs,
|
||||
nitems(age_devs));
|
||||
DRIVER_MODULE(miibus, age, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, age, miibus_driver, 0, 0);
|
||||
|
||||
static struct resource_spec age_res_spec_mem[] = {
|
||||
{ SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
|
||||
|
@ -257,7 +257,7 @@ static driver_t al_driver = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(al, pci, al_driver, al_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, al, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, al, miibus_driver, 0, 0);
|
||||
|
||||
static int
|
||||
al_probe(device_t dev)
|
||||
|
@ -245,7 +245,7 @@ static devclass_t alc_devclass;
|
||||
DRIVER_MODULE(alc, pci, alc_driver, alc_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, alc, alc_ident_table,
|
||||
nitems(alc_ident_table) - 1);
|
||||
DRIVER_MODULE(miibus, alc, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, alc, miibus_driver, 0, 0);
|
||||
|
||||
static struct resource_spec alc_res_spec_mem[] = {
|
||||
{ SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
|
||||
|
@ -180,7 +180,7 @@ static devclass_t ale_devclass;
|
||||
DRIVER_MODULE(ale, pci, ale_driver, ale_devclass, NULL, NULL);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ale, ale_devs,
|
||||
nitems(ale_devs));
|
||||
DRIVER_MODULE(miibus, ale, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, ale, miibus_driver, NULL, NULL);
|
||||
|
||||
static struct resource_spec ale_res_spec_mem[] = {
|
||||
{ SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
|
||||
|
@ -144,4 +144,4 @@ static driver_t atse_driver_fdt = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(atse, simplebus, atse_driver_fdt, atse_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, atse, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, atse, miibus_driver, 0, 0);
|
||||
|
@ -157,4 +157,4 @@ static driver_t atse_driver_nexus = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(atse, nexus, atse_driver_nexus, atse_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, atse, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, atse, miibus_driver, 0, 0);
|
||||
|
@ -197,7 +197,7 @@ static driver_t ax_driver = {
|
||||
|
||||
devclass_t ax_devclass;
|
||||
DRIVER_MODULE(axp, pci, ax_driver, ax_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ax, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ax, miibus_driver, 0, 0);
|
||||
IFLIB_PNP_INFO(pci, ax_driver, axgbe_vendor_info_array);
|
||||
|
||||
MODULE_DEPEND(ax, pci, 1, 1, 1);
|
||||
|
@ -522,7 +522,7 @@ MODULE_DEPEND(bce, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(bce, miibus, 1, 1, 1);
|
||||
|
||||
DRIVER_MODULE(bce, pci, bce_driver, bce_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, bce, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, bce, miibus_driver, NULL, NULL);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;U16:#;U16:#;D:#", pci, bce,
|
||||
bce_devs, nitems(bce_devs) - 1);
|
||||
|
||||
|
@ -158,7 +158,7 @@ static devclass_t bfe_devclass;
|
||||
DRIVER_MODULE(bfe, pci, bfe_driver, bfe_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, bfe, bfe_devs,
|
||||
nitems(bfe_devs) - 1);
|
||||
DRIVER_MODULE(miibus, bfe, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, bfe, miibus_driver, 0, 0);
|
||||
|
||||
/*
|
||||
* Probe for a Broadcom 4401 chip.
|
||||
|
@ -537,7 +537,7 @@ static devclass_t bge_devclass;
|
||||
DRIVER_MODULE(bge, pci, bge_driver, bge_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, bge, bge_devs,
|
||||
nitems(bge_devs) - 1);
|
||||
DRIVER_MODULE(miibus, bge, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, bge, miibus_driver, 0, 0);
|
||||
|
||||
static int bge_allow_asf = 1;
|
||||
|
||||
|
@ -1962,7 +1962,7 @@ static driver_t cgem_driver = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(cgem, simplebus, cgem_driver, cgem_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, cgem, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, cgem, miibus_driver, NULL, NULL);
|
||||
MODULE_DEPEND(cgem, miibus, 1, 1, 1);
|
||||
MODULE_DEPEND(cgem, ether, 1, 1, 1);
|
||||
SIMPLEBUS_PNP_INFO(compat_data);
|
||||
|
@ -2615,7 +2615,7 @@ static const struct cas_pci_dev {
|
||||
DRIVER_MODULE(cas, pci, cas_pci_driver, cas_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("W32:vendor/device", pci, cas, cas_pci_devlist,
|
||||
nitems(cas_pci_devlist) - 1);
|
||||
DRIVER_MODULE(miibus, cas, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, cas, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(cas, pci, 1, 1, 1);
|
||||
|
||||
static int
|
||||
|
@ -356,7 +356,7 @@ DRIVER_MODULE_ORDERED(dc, pci, dc_driver, dc_devclass, NULL, NULL,
|
||||
SI_ORDER_ANY);
|
||||
MODULE_PNP_INFO("W32:vendor/device;U8:revision;D:#", pci, dc, dc_devs,
|
||||
nitems(dc_devs) - 1);
|
||||
DRIVER_MODULE(miibus, dc, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, dc, miibus_driver, NULL, NULL);
|
||||
|
||||
#define DC_SETBIT(sc, reg, x) \
|
||||
CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | (x))
|
||||
|
@ -1058,5 +1058,5 @@ static devclass_t dme_devclass;
|
||||
MODULE_DEPEND(dme, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(dme, miibus, 1, 1, 1);
|
||||
DRIVER_MODULE(dme, simplebus, dme_driver, dme_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, dme, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, dme, miibus_driver, 0, 0);
|
||||
|
||||
|
@ -206,6 +206,6 @@ pqmdio_miibus_writereg(device_t dev, int phy, int reg, int value)
|
||||
|
||||
static devclass_t pqmdio_devclass;
|
||||
DRIVER_MODULE(pqmdio, fman, pqmdio_driver, pqmdio_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, pqmdio, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, pqmdio, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(pqmdio, miibus, 1, 1, 1);
|
||||
|
||||
|
@ -91,7 +91,7 @@ static driver_t dtsec_driver = {
|
||||
|
||||
static devclass_t dtsec_devclass;
|
||||
DRIVER_MODULE(dtsec, fman, dtsec_driver, dtsec_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, dtsec, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, dtsec, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(dtsec, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(dtsec, miibus, 1, 1, 1);
|
||||
|
||||
|
@ -1730,7 +1730,7 @@ driver_t dwc_driver = {
|
||||
static devclass_t dwc_devclass;
|
||||
|
||||
DRIVER_MODULE(dwc, simplebus, dwc_driver, dwc_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, dwc, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, dwc, miibus_driver, 0, 0);
|
||||
|
||||
MODULE_DEPEND(dwc, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(dwc, miibus, 1, 1, 1);
|
||||
|
@ -166,7 +166,7 @@ static driver_t enetc_driver = {
|
||||
};
|
||||
|
||||
static devclass_t enetc_devclass;
|
||||
DRIVER_MODULE(miibus, enetc, miibus_fdt_driver, miibus_fdt_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, enetc, miibus_fdt_driver, NULL, NULL);
|
||||
/* Make sure miibus gets procesed first. */
|
||||
DRIVER_MODULE_ORDERED(enetc, pci, enetc_driver, enetc_devclass, NULL, NULL,
|
||||
SI_ORDER_ANY);
|
||||
|
@ -190,7 +190,7 @@ static devclass_t et_devclass;
|
||||
DRIVER_MODULE(et, pci, et_driver, et_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, et, et_devices,
|
||||
nitems(et_devices) - 1);
|
||||
DRIVER_MODULE(miibus, et, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, et, miibus_driver, 0, 0);
|
||||
|
||||
static int et_rx_intr_npkts = 32;
|
||||
static int et_rx_intr_delay = 20; /* x10 usec */
|
||||
|
@ -959,7 +959,7 @@ static devclass_t ar40xx_devclass;
|
||||
|
||||
DRIVER_MODULE(ar40xx, simplebus, ar40xx_driver, ar40xx_devclass, 0, 0);
|
||||
DRIVER_MODULE(ar40xx, ofwbus, ar40xx_driver, ar40xx_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ar40xx, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ar40xx, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, ar40xx, mdio_driver, mdio_devclass, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, ar40xx, etherswitch_driver, etherswitch_devclass, 0, 0);
|
||||
MODULE_DEPEND(ar40xx, mdio, 1, 1, 1);
|
||||
|
@ -1347,7 +1347,7 @@ DEFINE_CLASS_0(arswitch, arswitch_driver, arswitch_methods,
|
||||
static devclass_t arswitch_devclass;
|
||||
|
||||
DRIVER_MODULE(arswitch, mdio, arswitch_driver, arswitch_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, arswitch, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, arswitch, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, arswitch, mdio_driver, mdio_devclass, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, arswitch, etherswitch_driver, etherswitch_devclass, 0, 0);
|
||||
MODULE_VERSION(arswitch, 1);
|
||||
|
@ -188,7 +188,7 @@ DEFINE_CLASS_0(e6000sw, e6000sw_driver, e6000sw_methods,
|
||||
DRIVER_MODULE(e6000sw, mdio, e6000sw_driver, e6000sw_devclass, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, e6000sw, etherswitch_driver, etherswitch_devclass, 0,
|
||||
0);
|
||||
DRIVER_MODULE(miibus, e6000sw, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, e6000sw, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(e6000sw, mdio, 1, 1, 1);
|
||||
|
||||
|
||||
|
@ -1025,7 +1025,7 @@ DEFINE_CLASS_0(e6060sw, e6060sw_driver, e6060sw_methods,
|
||||
static devclass_t e6060sw_devclass;
|
||||
|
||||
DRIVER_MODULE(e6060sw, mdio, e6060sw_driver, e6060sw_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, e6060sw, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, e6060sw, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, e6060sw, mdio_driver, mdio_devclass, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, e6060sw, etherswitch_driver, etherswitch_devclass, 0, 0);
|
||||
MODULE_VERSION(e6060sw, 1);
|
||||
|
@ -146,8 +146,7 @@ DEFINE_CLASS_0(felix, felix_driver, felix_methods,
|
||||
|
||||
DRIVER_MODULE_ORDERED(felix, pci, felix_driver, felix_devclass,
|
||||
NULL, NULL, SI_ORDER_ANY);
|
||||
DRIVER_MODULE(miibus, felix, miibus_fdt_driver, miibus_fdt_devclass,
|
||||
NULL, NULL);
|
||||
DRIVER_MODULE(miibus, felix, miibus_fdt_driver, NULL, NULL);
|
||||
DRIVER_MODULE(etherswitch, felix, etherswitch_driver, etherswitch_devclass,
|
||||
NULL, NULL);
|
||||
MODULE_VERSION(felix, 1);
|
||||
|
@ -855,7 +855,7 @@ DEFINE_CLASS_0(adm6996fc, adm6996fc_driver, adm6996fc_methods,
|
||||
static devclass_t adm6996fc_devclass;
|
||||
|
||||
DRIVER_MODULE(adm6996fc, mdio, adm6996fc_driver, adm6996fc_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, adm6996fc, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, adm6996fc, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, adm6996fc, mdio_driver, mdio_devclass, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, adm6996fc, etherswitch_driver, etherswitch_devclass,
|
||||
0, 0);
|
||||
|
@ -649,7 +649,7 @@ DEFINE_CLASS_0(ip17x, ip17x_driver, ip17x_methods,
|
||||
static devclass_t ip17x_devclass;
|
||||
|
||||
DRIVER_MODULE(ip17x, mdio, ip17x_driver, ip17x_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ip17x, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ip17x, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, ip17x, etherswitch_driver, etherswitch_devclass, 0, 0);
|
||||
MODULE_VERSION(ip17x, 1);
|
||||
|
||||
|
@ -957,7 +957,7 @@ DEFINE_CLASS_0(ksz8995ma, ksz8995ma_driver, ksz8995ma_methods,
|
||||
static devclass_t ksz8995ma_devclass;
|
||||
|
||||
DRIVER_MODULE(ksz8995ma, spibus, ksz8995ma_driver, ksz8995ma_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ksz8995ma, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ksz8995ma, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, ksz8995ma, etherswitch_driver, etherswitch_devclass,
|
||||
0, 0);
|
||||
MODULE_VERSION(ksz8995ma, 1);
|
||||
|
@ -436,6 +436,6 @@ devclass_t miiproxy_devclass;
|
||||
static devclass_t mdioproxy_devclass;
|
||||
|
||||
DRIVER_MODULE(mdioproxy, mdio, mdioproxy_driver, mdioproxy_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, miiproxy, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, miiproxy, miibus_driver, 0, 0);
|
||||
MODULE_VERSION(miiproxy, 1);
|
||||
MODULE_DEPEND(miiproxy, miibus, 1, 1, 1);
|
||||
|
@ -666,7 +666,7 @@ DEFINE_CLASS_0(mtkswitch, mtkswitch_driver, mtkswitch_methods,
|
||||
static devclass_t mtkswitch_devclass;
|
||||
|
||||
DRIVER_MODULE(mtkswitch, simplebus, mtkswitch_driver, mtkswitch_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, mtkswitch, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, mtkswitch, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, mtkswitch, mdio_driver, mdio_devclass, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, mtkswitch, etherswitch_driver, etherswitch_devclass,
|
||||
0, 0);
|
||||
|
@ -960,7 +960,7 @@ DEFINE_CLASS_0(rtl8366rb, rtl8366rb_driver, rtl8366rb_methods,
|
||||
static devclass_t rtl8366rb_devclass;
|
||||
|
||||
DRIVER_MODULE(rtl8366rb, iicbus, rtl8366rb_driver, rtl8366rb_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, rtl8366rb, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, rtl8366rb, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, rtl8366rb, mdio_driver, mdio_devclass, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, rtl8366rb, etherswitch_driver, etherswitch_devclass, 0, 0);
|
||||
MODULE_VERSION(rtl8366rb, 1);
|
||||
|
@ -576,7 +576,7 @@ DEFINE_CLASS_0(ukswitch, ukswitch_driver, ukswitch_methods,
|
||||
static devclass_t ukswitch_devclass;
|
||||
|
||||
DRIVER_MODULE(ukswitch, mdio, ukswitch_driver, ukswitch_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ukswitch, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ukswitch, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, ukswitch, mdio_driver, mdio_devclass, 0, 0);
|
||||
DRIVER_MODULE(etherswitch, ukswitch, etherswitch_driver, etherswitch_devclass, 0, 0);
|
||||
MODULE_VERSION(ukswitch, 1);
|
||||
|
@ -1833,7 +1833,7 @@ static driver_t ffec_driver = {
|
||||
static devclass_t ffec_devclass;
|
||||
|
||||
DRIVER_MODULE(ffec, simplebus, ffec_driver, ffec_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ffec, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ffec, miibus_driver, 0, 0);
|
||||
|
||||
MODULE_DEPEND(ffec, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(ffec, miibus, 1, 1, 1);
|
||||
|
@ -309,7 +309,7 @@ DRIVER_MODULE_ORDERED(fxp, pci, fxp_driver, fxp_devclass, NULL, NULL,
|
||||
SI_ORDER_ANY);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, fxp, fxp_ident_table,
|
||||
nitems(fxp_ident_table) - 1);
|
||||
DRIVER_MODULE(miibus, fxp, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, fxp, miibus_driver, NULL, NULL);
|
||||
|
||||
static struct resource_spec fxp_res_spec_mem[] = {
|
||||
{ SYS_RES_MEMORY, FXP_PCI_MMBA, RF_ACTIVE },
|
||||
|
@ -134,7 +134,7 @@ static inline void gem_txkick(struct gem_softc *sc);
|
||||
static int gem_watchdog(struct gem_softc *sc);
|
||||
|
||||
devclass_t gem_devclass;
|
||||
DRIVER_MODULE(miibus, gem, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, gem, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(gem, miibus, 1, 1, 1);
|
||||
|
||||
#ifdef GEM_DEBUG
|
||||
|
@ -237,7 +237,7 @@ static driver_t gpiomdio_driver = {
|
||||
|
||||
EARLY_DRIVER_MODULE(gpiomdio, gpiobus, gpiomdio_driver, gpiomdio_devclass,
|
||||
0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
|
||||
DRIVER_MODULE(miibus, gpiomdio, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, gpiomdio, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(gpiomdio, gpiobus, 1, 1, 1);
|
||||
MODULE_DEPEND(gpiomdio, miibus, 1, 1, 1);
|
||||
MODULE_DEPEND(gpiomdio, mii_bitbang, 1, 1, 1);
|
||||
|
@ -193,7 +193,7 @@ static driver_t jme_driver = {
|
||||
static devclass_t jme_devclass;
|
||||
|
||||
DRIVER_MODULE(jme, pci, jme_driver, jme_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, jme, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, jme, miibus_driver, 0, 0);
|
||||
|
||||
static struct resource_spec jme_res_spec_mem[] = {
|
||||
{ SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
|
||||
|
@ -190,7 +190,7 @@ static driver_t lge_driver = {
|
||||
static devclass_t lge_devclass;
|
||||
|
||||
DRIVER_MODULE(lge, pci, lge_driver, lge_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, lge, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, lge, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(lge, pci, 1, 1, 1);
|
||||
MODULE_DEPEND(lge, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(lge, miibus, 1, 1, 1);
|
||||
|
@ -213,10 +213,10 @@ MODULE_VERSION(mgb, 1);
|
||||
|
||||
#if 0 /* MIIBUS_DEBUG */
|
||||
/* If MIIBUS debug stuff is in attach then order matters. Use below instead. */
|
||||
DRIVER_MODULE_ORDERED(miibus, mgb, miibus_driver, miibus_devclass, NULL, NULL,
|
||||
DRIVER_MODULE_ORDERED(miibus, mgb, miibus_driver, NULL, NULL,
|
||||
SI_ORDER_ANY);
|
||||
#endif /* MIIBUS_DEBUG */
|
||||
DRIVER_MODULE(miibus, mgb, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, mgb, miibus_driver, NULL, NULL);
|
||||
|
||||
MODULE_DEPEND(mgb, pci, 1, 1, 1);
|
||||
MODULE_DEPEND(mgb, ether, 1, 1, 1);
|
||||
|
@ -178,7 +178,7 @@ static devclass_t mge_devclass;
|
||||
static int switch_attached = 0;
|
||||
|
||||
DRIVER_MODULE(mge, simplebus, mge_driver, mge_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, mge, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, mge, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, mge, mdio_driver, mdio_devclass, 0, 0);
|
||||
MODULE_DEPEND(mge, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(mge, miibus, 1, 1, 1);
|
||||
|
@ -101,7 +101,6 @@ static device_method_t miibus_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
devclass_t miibus_devclass;
|
||||
DEFINE_CLASS_0(miibus, miibus_driver, miibus_methods, sizeof(struct mii_data));
|
||||
|
||||
struct miibus_ivars {
|
||||
|
@ -350,6 +350,5 @@ static device_method_t miibus_fdt_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
devclass_t miibus_fdt_devclass;
|
||||
DEFINE_CLASS_1(miibus, miibus_fdt_driver, miibus_fdt_methods,
|
||||
sizeof(struct mii_data), miibus_driver);
|
||||
|
@ -263,11 +263,9 @@ enum miibus_device_ivars {
|
||||
|
||||
MIIBUS_ACCESSOR(flags, FLAGS, u_int)
|
||||
|
||||
extern devclass_t miibus_devclass;
|
||||
DECLARE_CLASS(miibus_driver);
|
||||
|
||||
#ifdef FDT
|
||||
extern devclass_t miibus_fdt_devclass;
|
||||
DECLARE_CLASS(miibus_fdt_driver);
|
||||
#endif
|
||||
|
||||
|
@ -376,7 +376,7 @@ static devclass_t msk_devclass;
|
||||
|
||||
DRIVER_MODULE(mskc, pci, mskc_driver, mskc_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(msk, mskc, msk_driver, msk_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, msk, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, msk, miibus_driver, NULL, NULL);
|
||||
|
||||
static struct resource_spec msk_res_spec_io[] = {
|
||||
{ SYS_RES_IOPORT, PCIR_BAR(1), RF_ACTIVE },
|
||||
|
@ -220,7 +220,7 @@ static device_method_t mvneta_methods[] = {
|
||||
|
||||
DEFINE_CLASS_0(mvneta, mvneta_driver, mvneta_methods, sizeof(struct mvneta_softc));
|
||||
|
||||
DRIVER_MODULE(miibus, mvneta, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, mvneta, miibus_driver, 0, 0);
|
||||
DRIVER_MODULE(mdio, mvneta, mdio_driver, mdio_devclass, 0, 0);
|
||||
MODULE_DEPEND(mvneta, mdio, 1, 1, 1);
|
||||
MODULE_DEPEND(mvneta, ether, 1, 1, 1);
|
||||
|
@ -184,7 +184,7 @@ static driver_t nfe_driver = {
|
||||
static devclass_t nfe_devclass;
|
||||
|
||||
DRIVER_MODULE(nfe, pci, nfe_driver, nfe_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, nfe, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, nfe, miibus_driver, 0, 0);
|
||||
|
||||
static struct nfe_type nfe_devs[] = {
|
||||
{PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE_LAN,
|
||||
|
@ -243,7 +243,7 @@ static driver_t nge_driver = {
|
||||
static devclass_t nge_devclass;
|
||||
|
||||
DRIVER_MODULE(nge, pci, nge_driver, nge_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, nge, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, nge, miibus_driver, 0, 0);
|
||||
|
||||
#define NGE_SETBIT(sc, reg, x) \
|
||||
CSR_WRITE_4(sc, reg, \
|
||||
|
@ -353,7 +353,7 @@ static driver_t re_driver = {
|
||||
static devclass_t re_devclass;
|
||||
|
||||
DRIVER_MODULE(re, pci, re_driver, re_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, re, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, re, miibus_driver, 0, 0);
|
||||
|
||||
#define EE_SET(x) \
|
||||
CSR_WRITE_1(sc, RL_EECMD, \
|
||||
|
@ -262,7 +262,7 @@ DRIVER_MODULE(rl, pci, rl_driver, rl_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, rl, rl_devs,
|
||||
nitems(rl_devs) - 1);
|
||||
DRIVER_MODULE(rl, cardbus, rl_driver, rl_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, rl, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, rl, miibus_driver, 0, 0);
|
||||
|
||||
#define EE_SET(x) \
|
||||
CSR_WRITE_1(sc, RL_EECMD, \
|
||||
|
@ -176,7 +176,7 @@ static driver_t sge_driver = {
|
||||
static devclass_t sge_devclass;
|
||||
|
||||
DRIVER_MODULE(sge, pci, sge_driver, sge_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, sge, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, sge, miibus_driver, 0, 0);
|
||||
|
||||
/*
|
||||
* Register space access macros.
|
||||
|
@ -2413,4 +2413,4 @@ static driver_t sis_driver = {
|
||||
static devclass_t sis_devclass;
|
||||
|
||||
DRIVER_MODULE(sis, pci, sis_driver, sis_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, sis, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, sis, miibus_driver, 0, 0);
|
||||
|
@ -331,7 +331,7 @@ static devclass_t sk_devclass;
|
||||
|
||||
DRIVER_MODULE(skc, pci, skc_driver, skc_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(sk, skc, sk_driver, sk_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, sk, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, sk, miibus_driver, NULL, NULL);
|
||||
|
||||
static struct resource_spec sk_res_spec_io[] = {
|
||||
{ SYS_RES_IOPORT, PCIR_BAR(1), RF_ACTIVE },
|
||||
|
@ -500,7 +500,7 @@ driver_t smc_driver = {
|
||||
sizeof(struct smc_softc),
|
||||
};
|
||||
|
||||
DRIVER_MODULE(miibus, smc, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, smc, miibus_driver, 0, 0);
|
||||
|
||||
static void
|
||||
smc_start(struct ifnet *ifp)
|
||||
|
@ -181,7 +181,7 @@ static driver_t ste_driver = {
|
||||
static devclass_t ste_devclass;
|
||||
|
||||
DRIVER_MODULE(ste, pci, ste_driver, ste_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ste, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, ste, miibus_driver, 0, 0);
|
||||
|
||||
#define STE_SETBIT4(sc, reg, x) \
|
||||
CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | (x))
|
||||
|
@ -229,7 +229,7 @@ static driver_t stge_driver = {
|
||||
static devclass_t stge_devclass;
|
||||
|
||||
DRIVER_MODULE(stge, pci, stge_driver, stge_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, stge, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, stge, miibus_driver, 0, 0);
|
||||
|
||||
static struct resource_spec stge_res_spec_io[] = {
|
||||
{ SYS_RES_IOPORT, PCIR_BAR(0), RF_ACTIVE },
|
||||
|
@ -110,7 +110,7 @@ static void tsec_setup_multicast(struct tsec_softc *sc);
|
||||
static int tsec_set_mtu(struct tsec_softc *sc, unsigned int mtu);
|
||||
|
||||
devclass_t tsec_devclass;
|
||||
DRIVER_MODULE(miibus, tsec, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, tsec, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(tsec, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(tsec, miibus, 1, 1, 1);
|
||||
|
||||
|
@ -281,7 +281,7 @@ static driver_t aue_driver = {
|
||||
static devclass_t aue_devclass;
|
||||
|
||||
DRIVER_MODULE(aue, uhub, aue_driver, aue_devclass, NULL, 0);
|
||||
DRIVER_MODULE(miibus, aue, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, aue, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(aue, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(aue, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(aue, ether, 1, 1, 1);
|
||||
|
@ -277,7 +277,7 @@ static driver_t axe_driver = {
|
||||
static devclass_t axe_devclass;
|
||||
|
||||
DRIVER_MODULE(axe, uhub, axe_driver, axe_devclass, NULL, 0);
|
||||
DRIVER_MODULE(miibus, axe, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, axe, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(axe, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(axe, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(axe, ether, 1, 1, 1);
|
||||
|
@ -194,7 +194,7 @@ static driver_t axge_driver = {
|
||||
static devclass_t axge_devclass;
|
||||
|
||||
DRIVER_MODULE(axge, uhub, axge_driver, axge_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, axge, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, axge, miibus_driver, NULL, NULL);
|
||||
MODULE_DEPEND(axge, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(axge, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(axge, ether, 1, 1, 1);
|
||||
|
@ -248,7 +248,7 @@ static driver_t mos_driver = {
|
||||
static devclass_t mos_devclass;
|
||||
|
||||
DRIVER_MODULE(mos, uhub, mos_driver, mos_devclass, NULL, 0);
|
||||
DRIVER_MODULE(miibus, mos, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, mos, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(mos, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(mos, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(mos, ether, 1, 1, 1);
|
||||
|
@ -2267,7 +2267,7 @@ static driver_t muge_driver = {
|
||||
static devclass_t muge_devclass;
|
||||
|
||||
DRIVER_MODULE(muge, uhub, muge_driver, muge_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, muge, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, muge, miibus_driver, NULL, NULL);
|
||||
MODULE_DEPEND(muge, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(muge, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(muge, ether, 1, 1, 1);
|
||||
|
@ -216,7 +216,7 @@ static devclass_t rue_devclass;
|
||||
|
||||
DRIVER_MODULE_ORDERED(rue, uhub, rue_driver, rue_devclass, NULL, NULL,
|
||||
SI_ORDER_ANY);
|
||||
DRIVER_MODULE(miibus, rue, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, rue, miibus_driver, NULL, NULL);
|
||||
MODULE_DEPEND(rue, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(rue, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(rue, ether, 1, 1, 1);
|
||||
|
@ -1772,7 +1772,7 @@ static driver_t smsc_driver = {
|
||||
static devclass_t smsc_devclass;
|
||||
|
||||
DRIVER_MODULE(smsc, uhub, smsc_driver, smsc_devclass, NULL, 0);
|
||||
DRIVER_MODULE(miibus, smsc, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, smsc, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(smsc, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(smsc, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(smsc, ether, 1, 1, 1);
|
||||
|
@ -188,7 +188,7 @@ static const STRUCT_USB_HOST_ID udav_devs[] = {
|
||||
};
|
||||
|
||||
DRIVER_MODULE(udav, uhub, udav_driver, udav_devclass, NULL, 0);
|
||||
DRIVER_MODULE(miibus, udav, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, udav, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(udav, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(udav, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(udav, ether, 1, 1, 1);
|
||||
|
@ -192,7 +192,7 @@ static driver_t ure_driver = {
|
||||
static devclass_t ure_devclass;
|
||||
|
||||
DRIVER_MODULE(ure, uhub, ure_driver, ure_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, ure, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, ure, miibus_driver, NULL, NULL);
|
||||
MODULE_DEPEND(ure, uether, 1, 1, 1);
|
||||
MODULE_DEPEND(ure, usb, 1, 1, 1);
|
||||
MODULE_DEPEND(ure, ether, 1, 1, 1);
|
||||
|
@ -231,7 +231,7 @@ static driver_t vge_driver = {
|
||||
static devclass_t vge_devclass;
|
||||
|
||||
DRIVER_MODULE(vge, pci, vge_driver, vge_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, vge, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, vge, miibus_driver, 0, 0);
|
||||
|
||||
#ifdef VGE_EEPROM
|
||||
/*
|
||||
|
@ -120,7 +120,7 @@ static device_method_t thunder_mdio_methods[] = {
|
||||
DEFINE_CLASS_0(thunder_mdio, thunder_mdio_driver, thunder_mdio_methods,
|
||||
sizeof(struct thunder_mdio_softc));
|
||||
|
||||
DRIVER_MODULE(miibus, thunder_mdio, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, thunder_mdio, miibus_driver, 0, 0);
|
||||
MODULE_VERSION(thunder_mdio, 1);
|
||||
MODULE_DEPEND(thunder_mdio, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(thunder_mdio, miibus, 1, 1, 1);
|
||||
|
@ -238,7 +238,7 @@ static driver_t vr_driver = {
|
||||
static devclass_t vr_devclass;
|
||||
|
||||
DRIVER_MODULE(vr, pci, vr_driver, vr_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, vr, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, vr, miibus_driver, 0, 0);
|
||||
|
||||
static int
|
||||
vr_miibus_readreg(device_t dev, int phy, int reg)
|
||||
|
@ -167,7 +167,7 @@ static driver_t vte_driver = {
|
||||
static devclass_t vte_devclass;
|
||||
|
||||
DRIVER_MODULE(vte, pci, vte_driver, vte_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, vte, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, vte, miibus_driver, 0, 0);
|
||||
|
||||
static int
|
||||
vte_miibus_readreg(device_t dev, int phy, int reg)
|
||||
|
@ -1149,7 +1149,7 @@ driver_t xae_driver = {
|
||||
static devclass_t xae_devclass;
|
||||
|
||||
DRIVER_MODULE(xae, simplebus, xae_driver, xae_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, xae, miibus_driver, miibus_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, xae, miibus_driver, 0, 0);
|
||||
|
||||
MODULE_DEPEND(xae, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(xae, miibus, 1, 1, 1);
|
||||
|
@ -333,7 +333,7 @@ static devclass_t xl_devclass;
|
||||
|
||||
DRIVER_MODULE_ORDERED(xl, pci, xl_driver, xl_devclass, NULL, NULL,
|
||||
SI_ORDER_ANY);
|
||||
DRIVER_MODULE(miibus, xl, miibus_driver, miibus_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(miibus, xl, miibus_driver, NULL, NULL);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, xl, xl_devs,
|
||||
nitems(xl_devs) - 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user