Remove unused etherswitch_devclass.
This commit is contained in:
parent
5d9f60a3fd
commit
829a13fa7f
@ -235,7 +235,7 @@ static driver_t cpswp_driver = {
|
|||||||
static devclass_t cpswp_devclass;
|
static devclass_t cpswp_devclass;
|
||||||
|
|
||||||
#ifdef CPSW_ETHERSWITCH
|
#ifdef CPSW_ETHERSWITCH
|
||||||
DRIVER_MODULE(etherswitch, cpswss, etherswitch_driver, etherswitch_devclass, 0, 0);
|
DRIVER_MODULE(etherswitch, cpswss, etherswitch_driver, 0, 0);
|
||||||
MODULE_DEPEND(cpswss, etherswitch, 1, 1, 1);
|
MODULE_DEPEND(cpswss, etherswitch, 1, 1, 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -961,7 +961,7 @@ DRIVER_MODULE(ar40xx, simplebus, ar40xx_driver, ar40xx_devclass, 0, 0);
|
|||||||
DRIVER_MODULE(ar40xx, ofwbus, ar40xx_driver, ar40xx_devclass, 0, 0);
|
DRIVER_MODULE(ar40xx, ofwbus, ar40xx_driver, ar40xx_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, ar40xx, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, ar40xx, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(mdio, ar40xx, mdio_driver, 0, 0);
|
DRIVER_MODULE(mdio, ar40xx, mdio_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, ar40xx, etherswitch_driver, etherswitch_devclass, 0, 0);
|
DRIVER_MODULE(etherswitch, ar40xx, etherswitch_driver, 0, 0);
|
||||||
MODULE_DEPEND(ar40xx, mdio, 1, 1, 1);
|
MODULE_DEPEND(ar40xx, mdio, 1, 1, 1);
|
||||||
MODULE_DEPEND(ar40xx, miibus, 1, 1, 1);
|
MODULE_DEPEND(ar40xx, miibus, 1, 1, 1);
|
||||||
MODULE_DEPEND(ar40xx, etherswitch, 1, 1, 1);
|
MODULE_DEPEND(ar40xx, etherswitch, 1, 1, 1);
|
||||||
|
@ -1349,7 +1349,7 @@ static devclass_t arswitch_devclass;
|
|||||||
DRIVER_MODULE(arswitch, mdio, arswitch_driver, arswitch_devclass, 0, 0);
|
DRIVER_MODULE(arswitch, mdio, arswitch_driver, arswitch_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, arswitch, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, arswitch, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(mdio, arswitch, mdio_driver, 0, 0);
|
DRIVER_MODULE(mdio, arswitch, mdio_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, arswitch, etherswitch_driver, etherswitch_devclass, 0, 0);
|
DRIVER_MODULE(etherswitch, arswitch, etherswitch_driver, 0, 0);
|
||||||
MODULE_VERSION(arswitch, 1);
|
MODULE_VERSION(arswitch, 1);
|
||||||
MODULE_DEPEND(arswitch, miibus, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(arswitch, miibus, 1, 1, 1); /* XXX which versions? */
|
||||||
MODULE_DEPEND(arswitch, etherswitch, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(arswitch, etherswitch, 1, 1, 1); /* XXX which versions? */
|
||||||
|
@ -186,8 +186,7 @@ DEFINE_CLASS_0(e6000sw, e6000sw_driver, e6000sw_methods,
|
|||||||
sizeof(e6000sw_softc_t));
|
sizeof(e6000sw_softc_t));
|
||||||
|
|
||||||
DRIVER_MODULE(e6000sw, mdio, e6000sw_driver, e6000sw_devclass, 0, 0);
|
DRIVER_MODULE(e6000sw, mdio, e6000sw_driver, e6000sw_devclass, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, e6000sw, etherswitch_driver, etherswitch_devclass, 0,
|
DRIVER_MODULE(etherswitch, e6000sw, etherswitch_driver, 0, 0);
|
||||||
0);
|
|
||||||
DRIVER_MODULE(miibus, e6000sw, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, e6000sw, miibus_driver, 0, 0);
|
||||||
MODULE_DEPEND(e6000sw, mdio, 1, 1, 1);
|
MODULE_DEPEND(e6000sw, mdio, 1, 1, 1);
|
||||||
|
|
||||||
|
@ -1027,7 +1027,7 @@ static devclass_t e6060sw_devclass;
|
|||||||
DRIVER_MODULE(e6060sw, mdio, e6060sw_driver, e6060sw_devclass, 0, 0);
|
DRIVER_MODULE(e6060sw, mdio, e6060sw_driver, e6060sw_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, e6060sw, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, e6060sw, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(mdio, e6060sw, mdio_driver, 0, 0);
|
DRIVER_MODULE(mdio, e6060sw, mdio_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, e6060sw, etherswitch_driver, etherswitch_devclass, 0, 0);
|
DRIVER_MODULE(etherswitch, e6060sw, etherswitch_driver, 0, 0);
|
||||||
MODULE_VERSION(e6060sw, 1);
|
MODULE_VERSION(e6060sw, 1);
|
||||||
MODULE_DEPEND(e6060sw, miibus, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(e6060sw, miibus, 1, 1, 1); /* XXX which versions? */
|
||||||
MODULE_DEPEND(e6060sw, etherswitch, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(e6060sw, etherswitch, 1, 1, 1); /* XXX which versions? */
|
||||||
|
@ -56,8 +56,6 @@ static int etherswitch_attach(device_t);
|
|||||||
static int etherswitch_detach(device_t);
|
static int etherswitch_detach(device_t);
|
||||||
static void etherswitch_identify(driver_t *driver, device_t parent);
|
static void etherswitch_identify(driver_t *driver, device_t parent);
|
||||||
|
|
||||||
devclass_t etherswitch_devclass;
|
|
||||||
|
|
||||||
static device_method_t etherswitch_methods[] = {
|
static device_method_t etherswitch_methods[] = {
|
||||||
/* device interface */
|
/* device interface */
|
||||||
DEVMETHOD(device_identify, etherswitch_identify),
|
DEVMETHOD(device_identify, etherswitch_identify),
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include <net/ethernet.h>
|
#include <net/ethernet.h>
|
||||||
|
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
extern devclass_t etherswitch_devclass;
|
|
||||||
extern driver_t etherswitch_driver;
|
extern driver_t etherswitch_driver;
|
||||||
#endif /* _KERNEL */
|
#endif /* _KERNEL */
|
||||||
|
|
||||||
|
@ -147,8 +147,7 @@ DEFINE_CLASS_0(felix, felix_driver, felix_methods,
|
|||||||
DRIVER_MODULE_ORDERED(felix, pci, felix_driver, felix_devclass,
|
DRIVER_MODULE_ORDERED(felix, pci, felix_driver, felix_devclass,
|
||||||
NULL, NULL, SI_ORDER_ANY);
|
NULL, NULL, SI_ORDER_ANY);
|
||||||
DRIVER_MODULE(miibus, felix, miibus_fdt_driver, NULL, NULL);
|
DRIVER_MODULE(miibus, felix, miibus_fdt_driver, NULL, NULL);
|
||||||
DRIVER_MODULE(etherswitch, felix, etherswitch_driver, etherswitch_devclass,
|
DRIVER_MODULE(etherswitch, felix, etherswitch_driver, NULL, NULL);
|
||||||
NULL, NULL);
|
|
||||||
MODULE_VERSION(felix, 1);
|
MODULE_VERSION(felix, 1);
|
||||||
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, felix,
|
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, felix,
|
||||||
felix_pci_ids, nitems(felix_pci_ids) - 1);
|
felix_pci_ids, nitems(felix_pci_ids) - 1);
|
||||||
|
@ -857,8 +857,7 @@ static devclass_t adm6996fc_devclass;
|
|||||||
DRIVER_MODULE(adm6996fc, mdio, adm6996fc_driver, adm6996fc_devclass, 0, 0);
|
DRIVER_MODULE(adm6996fc, mdio, adm6996fc_driver, adm6996fc_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, adm6996fc, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, adm6996fc, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(mdio, adm6996fc, mdio_driver, 0, 0);
|
DRIVER_MODULE(mdio, adm6996fc, mdio_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, adm6996fc, etherswitch_driver, etherswitch_devclass,
|
DRIVER_MODULE(etherswitch, adm6996fc, etherswitch_driver, 0, 0);
|
||||||
0, 0);
|
|
||||||
MODULE_VERSION(adm6996fc, 1);
|
MODULE_VERSION(adm6996fc, 1);
|
||||||
MODULE_DEPEND(adm6996fc, miibus, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(adm6996fc, miibus, 1, 1, 1); /* XXX which versions? */
|
||||||
MODULE_DEPEND(adm6996fc, etherswitch, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(adm6996fc, etherswitch, 1, 1, 1); /* XXX which versions? */
|
||||||
|
@ -650,7 +650,7 @@ static devclass_t ip17x_devclass;
|
|||||||
|
|
||||||
DRIVER_MODULE(ip17x, mdio, ip17x_driver, ip17x_devclass, 0, 0);
|
DRIVER_MODULE(ip17x, mdio, ip17x_driver, ip17x_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, ip17x, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, ip17x, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, ip17x, etherswitch_driver, etherswitch_devclass, 0, 0);
|
DRIVER_MODULE(etherswitch, ip17x, etherswitch_driver, 0, 0);
|
||||||
MODULE_VERSION(ip17x, 1);
|
MODULE_VERSION(ip17x, 1);
|
||||||
|
|
||||||
#ifdef FDT
|
#ifdef FDT
|
||||||
|
@ -958,8 +958,7 @@ static devclass_t ksz8995ma_devclass;
|
|||||||
|
|
||||||
DRIVER_MODULE(ksz8995ma, spibus, ksz8995ma_driver, ksz8995ma_devclass, 0, 0);
|
DRIVER_MODULE(ksz8995ma, spibus, ksz8995ma_driver, ksz8995ma_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, ksz8995ma, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, ksz8995ma, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, ksz8995ma, etherswitch_driver, etherswitch_devclass,
|
DRIVER_MODULE(etherswitch, ksz8995ma, etherswitch_driver, 0, 0);
|
||||||
0, 0);
|
|
||||||
MODULE_VERSION(ksz8995ma, 1);
|
MODULE_VERSION(ksz8995ma, 1);
|
||||||
MODULE_DEPEND(ksz8995ma, spibus, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(ksz8995ma, spibus, 1, 1, 1); /* XXX which versions? */
|
||||||
MODULE_DEPEND(ksz8995ma, miibus, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(ksz8995ma, miibus, 1, 1, 1); /* XXX which versions? */
|
||||||
|
@ -668,8 +668,7 @@ static devclass_t mtkswitch_devclass;
|
|||||||
DRIVER_MODULE(mtkswitch, simplebus, mtkswitch_driver, mtkswitch_devclass, 0, 0);
|
DRIVER_MODULE(mtkswitch, simplebus, mtkswitch_driver, mtkswitch_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, mtkswitch, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, mtkswitch, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(mdio, mtkswitch, mdio_driver, 0, 0);
|
DRIVER_MODULE(mdio, mtkswitch, mdio_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, mtkswitch, etherswitch_driver, etherswitch_devclass,
|
DRIVER_MODULE(etherswitch, mtkswitch, etherswitch_driver, 0, 0);
|
||||||
0, 0);
|
|
||||||
MODULE_VERSION(mtkswitch, 1);
|
MODULE_VERSION(mtkswitch, 1);
|
||||||
MODULE_DEPEND(mtkswitch, miibus, 1, 1, 1);
|
MODULE_DEPEND(mtkswitch, miibus, 1, 1, 1);
|
||||||
MODULE_DEPEND(mtkswitch, etherswitch, 1, 1, 1);
|
MODULE_DEPEND(mtkswitch, etherswitch, 1, 1, 1);
|
||||||
|
@ -962,7 +962,7 @@ static devclass_t rtl8366rb_devclass;
|
|||||||
DRIVER_MODULE(rtl8366rb, iicbus, rtl8366rb_driver, rtl8366rb_devclass, 0, 0);
|
DRIVER_MODULE(rtl8366rb, iicbus, rtl8366rb_driver, rtl8366rb_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, rtl8366rb, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, rtl8366rb, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(mdio, rtl8366rb, mdio_driver, 0, 0);
|
DRIVER_MODULE(mdio, rtl8366rb, mdio_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, rtl8366rb, etherswitch_driver, etherswitch_devclass, 0, 0);
|
DRIVER_MODULE(etherswitch, rtl8366rb, etherswitch_driver, 0, 0);
|
||||||
MODULE_VERSION(rtl8366rb, 1);
|
MODULE_VERSION(rtl8366rb, 1);
|
||||||
MODULE_DEPEND(rtl8366rb, iicbus, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(rtl8366rb, iicbus, 1, 1, 1); /* XXX which versions? */
|
||||||
MODULE_DEPEND(rtl8366rb, miibus, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(rtl8366rb, miibus, 1, 1, 1); /* XXX which versions? */
|
||||||
|
@ -578,7 +578,7 @@ static devclass_t ukswitch_devclass;
|
|||||||
DRIVER_MODULE(ukswitch, mdio, ukswitch_driver, ukswitch_devclass, 0, 0);
|
DRIVER_MODULE(ukswitch, mdio, ukswitch_driver, ukswitch_devclass, 0, 0);
|
||||||
DRIVER_MODULE(miibus, ukswitch, miibus_driver, 0, 0);
|
DRIVER_MODULE(miibus, ukswitch, miibus_driver, 0, 0);
|
||||||
DRIVER_MODULE(mdio, ukswitch, mdio_driver, 0, 0);
|
DRIVER_MODULE(mdio, ukswitch, mdio_driver, 0, 0);
|
||||||
DRIVER_MODULE(etherswitch, ukswitch, etherswitch_driver, etherswitch_devclass, 0, 0);
|
DRIVER_MODULE(etherswitch, ukswitch, etherswitch_driver, 0, 0);
|
||||||
MODULE_VERSION(ukswitch, 1);
|
MODULE_VERSION(ukswitch, 1);
|
||||||
MODULE_DEPEND(ukswitch, miibus, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(ukswitch, miibus, 1, 1, 1); /* XXX which versions? */
|
||||||
MODULE_DEPEND(ukswitch, etherswitch, 1, 1, 1); /* XXX which versions? */
|
MODULE_DEPEND(ukswitch, etherswitch, 1, 1, 1); /* XXX which versions? */
|
||||||
|
Loading…
Reference in New Issue
Block a user