mii: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
354f6c1cc1
commit
f438c2ff05
@ -92,15 +92,13 @@ static device_method_t acphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t acphy_devclass;
|
||||
|
||||
static driver_t acphy_driver = {
|
||||
"acphy",
|
||||
acphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(acphy, miibus, acphy_driver, acphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(acphy, miibus, acphy_driver, 0, 0);
|
||||
|
||||
static int acphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void acphy_reset(struct mii_softc *);
|
||||
|
@ -71,15 +71,13 @@ static device_method_t amphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t amphy_devclass;
|
||||
|
||||
static driver_t amphy_driver = {
|
||||
"amphy",
|
||||
amphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(amphy, miibus, amphy_driver, amphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(amphy, miibus, amphy_driver, 0, 0);
|
||||
|
||||
static int amphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void amphy_status(struct mii_softc *);
|
||||
|
@ -64,14 +64,13 @@ static device_method_t atphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t atphy_devclass;
|
||||
static driver_t atphy_driver = {
|
||||
"atphy",
|
||||
atphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(atphy, miibus, atphy_driver, atphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(atphy, miibus, atphy_driver, 0, 0);
|
||||
|
||||
static int atphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void atphy_status(struct mii_softc *);
|
||||
|
@ -60,15 +60,13 @@ static device_method_t axphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t axphy_devclass;
|
||||
|
||||
static driver_t axphy_driver = {
|
||||
"axphy",
|
||||
axphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(axphy, miibus, axphy_driver, axphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(axphy, miibus, axphy_driver, 0, 0);
|
||||
|
||||
static int axphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void axphy_status(struct mii_softc *);
|
||||
|
@ -96,15 +96,13 @@ static device_method_t bmtphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t bmtphy_devclass;
|
||||
|
||||
static driver_t bmtphy_driver = {
|
||||
"bmtphy",
|
||||
bmtphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(bmtphy, miibus, bmtphy_driver, bmtphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(bmtphy, miibus, bmtphy_driver, 0, 0);
|
||||
|
||||
static int bmtphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void bmtphy_status(struct mii_softc *);
|
||||
|
@ -89,15 +89,13 @@ static device_method_t brgphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t brgphy_devclass;
|
||||
|
||||
static driver_t brgphy_driver = {
|
||||
"brgphy",
|
||||
brgphy_methods,
|
||||
sizeof(struct brgphy_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(brgphy, miibus, brgphy_driver, brgphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(brgphy, miibus, brgphy_driver, 0, 0);
|
||||
|
||||
static int brgphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void brgphy_setmedia(struct mii_softc *, int);
|
||||
|
@ -72,15 +72,13 @@ static device_method_t ciphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t ciphy_devclass;
|
||||
|
||||
static driver_t ciphy_driver = {
|
||||
"ciphy",
|
||||
ciphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(ciphy, miibus, ciphy_driver, ciphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(ciphy, miibus, ciphy_driver, 0, 0);
|
||||
|
||||
static int ciphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void ciphy_status(struct mii_softc *);
|
||||
|
@ -209,12 +209,10 @@ static device_method_t dp_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t dp_devclass;
|
||||
|
||||
static driver_t dp_driver = {
|
||||
"dp83822phy",
|
||||
dp_methods,
|
||||
sizeof(struct dp83822_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(dp83822phy, miibus, dp_driver, dp_devclass, 0, 0);
|
||||
DRIVER_MODULE(dp83822phy, miibus, dp_driver, 0, 0);
|
||||
|
@ -285,12 +285,10 @@ static device_method_t dp_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t dp_devclass;
|
||||
|
||||
static driver_t dp_driver = {
|
||||
"dp83867phy",
|
||||
dp_methods,
|
||||
sizeof(struct dp83867_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(dp83867phy, miibus, dp_driver, dp_devclass, 0, 0);
|
||||
DRIVER_MODULE(dp83867phy, miibus, dp_driver, 0, 0);
|
||||
|
@ -76,14 +76,13 @@ static device_method_t e1000phy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t e1000phy_devclass;
|
||||
static driver_t e1000phy_driver = {
|
||||
"e1000phy",
|
||||
e1000phy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(e1000phy, miibus, e1000phy_driver, e1000phy_devclass, 0, 0);
|
||||
DRIVER_MODULE(e1000phy, miibus, e1000phy_driver, 0, 0);
|
||||
|
||||
static int e1000phy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void e1000phy_status(struct mii_softc *);
|
||||
|
@ -100,15 +100,13 @@ static device_method_t gentbi_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t gentbi_devclass;
|
||||
|
||||
static driver_t gentbi_driver = {
|
||||
"gentbi",
|
||||
gentbi_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(gentbi, miibus, gentbi_driver, gentbi_devclass, 0, 0);
|
||||
DRIVER_MODULE(gentbi, miibus, gentbi_driver, 0, 0);
|
||||
|
||||
static int gentbi_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void gentbi_status(struct mii_softc *);
|
||||
|
@ -94,15 +94,13 @@ static device_method_t icsphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t icsphy_devclass;
|
||||
|
||||
static driver_t icsphy_driver = {
|
||||
"icsphy",
|
||||
icsphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(icsphy, miibus, icsphy_driver, icsphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(icsphy, miibus, icsphy_driver, 0, 0);
|
||||
|
||||
static int icsphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void icsphy_status(struct mii_softc *);
|
||||
|
@ -70,14 +70,13 @@ static device_method_t ip1000phy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t ip1000phy_devclass;
|
||||
static driver_t ip1000phy_driver = {
|
||||
"ip1000phy",
|
||||
ip1000phy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(ip1000phy, miibus, ip1000phy_driver, ip1000phy_devclass, 0, 0);
|
||||
DRIVER_MODULE(ip1000phy, miibus, ip1000phy_driver, 0, 0);
|
||||
|
||||
static int ip1000phy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void ip1000phy_status(struct mii_softc *);
|
||||
|
@ -68,14 +68,13 @@ static device_method_t jmphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t jmphy_devclass;
|
||||
static driver_t jmphy_driver = {
|
||||
"jmphy",
|
||||
jmphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(jmphy, miibus, jmphy_driver, jmphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(jmphy, miibus, jmphy_driver, 0, 0);
|
||||
|
||||
static int jmphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void jmphy_status(struct mii_softc *);
|
||||
|
@ -96,15 +96,13 @@ static device_method_t lxtphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t lxtphy_devclass;
|
||||
|
||||
static driver_t lxtphy_driver = {
|
||||
"lxtphy",
|
||||
lxtphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(lxtphy, miibus, lxtphy_driver, lxtphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(lxtphy, miibus, lxtphy_driver, 0, 0);
|
||||
|
||||
static int lxtphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void lxtphy_status(struct mii_softc *);
|
||||
|
@ -95,15 +95,13 @@ static device_method_t micphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t micphy_devclass;
|
||||
|
||||
static driver_t micphy_driver = {
|
||||
"micphy",
|
||||
micphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(micphy, miibus, micphy_driver, micphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(micphy, miibus, micphy_driver, 0, 0);
|
||||
|
||||
static const struct mii_phydesc micphys[] = {
|
||||
MII_PHY_DESC(MICREL, KSZ8081),
|
||||
|
@ -88,15 +88,13 @@ static device_method_t nsgphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t nsgphy_devclass;
|
||||
|
||||
static driver_t nsgphy_driver = {
|
||||
"nsgphy",
|
||||
nsgphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(nsgphy, miibus, nsgphy_driver, nsgphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(nsgphy, miibus, nsgphy_driver, 0, 0);
|
||||
|
||||
static int nsgphy_service(struct mii_softc *, struct mii_data *,int);
|
||||
static void nsgphy_status(struct mii_softc *);
|
||||
|
@ -96,15 +96,13 @@ static device_method_t nsphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t nsphy_devclass;
|
||||
|
||||
static driver_t nsphy_driver = {
|
||||
"nsphy",
|
||||
nsphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(nsphy, miibus, nsphy_driver, nsphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(nsphy, miibus, nsphy_driver, 0, 0);
|
||||
|
||||
static int nsphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void nsphy_status(struct mii_softc *);
|
||||
|
@ -99,15 +99,13 @@ static device_method_t nsphyter_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t nsphyter_devclass;
|
||||
|
||||
static driver_t nsphyter_driver = {
|
||||
"nsphyter",
|
||||
nsphyter_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(nsphyter, miibus, nsphyter_driver, nsphyter_devclass, 0, 0);
|
||||
DRIVER_MODULE(nsphyter, miibus, nsphyter_driver, 0, 0);
|
||||
|
||||
static int nsphyter_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void nsphyter_status(struct mii_softc *);
|
||||
|
@ -74,15 +74,13 @@ static device_method_t pnaphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t pnaphy_devclass;
|
||||
|
||||
static driver_t pnaphy_driver = {
|
||||
"pnaphy",
|
||||
pnaphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(pnaphy, miibus, pnaphy_driver, pnaphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(pnaphy, miibus, pnaphy_driver, 0, 0);
|
||||
|
||||
static int pnaphy_service(struct mii_softc *, struct mii_data *,int);
|
||||
|
||||
|
@ -96,15 +96,13 @@ static device_method_t qsphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t qsphy_devclass;
|
||||
|
||||
static driver_t qsphy_driver = {
|
||||
"qsphy",
|
||||
qsphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(qsphy, miibus, qsphy_driver, qsphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(qsphy, miibus, qsphy_driver, 0, 0);
|
||||
|
||||
static int qsphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void qsphy_reset(struct mii_softc *);
|
||||
|
@ -70,15 +70,13 @@ static device_method_t rdcphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t rdcphy_devclass;
|
||||
|
||||
static driver_t rdcphy_driver = {
|
||||
"rdcphy",
|
||||
rdcphy_methods,
|
||||
sizeof(struct rdcphy_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(rdcphy, miibus, rdcphy_driver, rdcphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(rdcphy, miibus, rdcphy_driver, 0, 0);
|
||||
|
||||
static int rdcphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void rdcphy_status(struct mii_softc *);
|
||||
|
@ -75,15 +75,13 @@ static device_method_t rgephy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t rgephy_devclass;
|
||||
|
||||
static driver_t rgephy_driver = {
|
||||
"rgephy",
|
||||
rgephy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(rgephy, miibus, rgephy_driver, rgephy_devclass, 0, 0);
|
||||
DRIVER_MODULE(rgephy, miibus, rgephy_driver, 0, 0);
|
||||
|
||||
static int rgephy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void rgephy_status(struct mii_softc *);
|
||||
|
@ -72,15 +72,13 @@ static device_method_t rlphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t rlphy_devclass;
|
||||
|
||||
static driver_t rlphy_driver = {
|
||||
"rlphy",
|
||||
rlphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(rlphy, miibus, rlphy_driver, rlphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(rlphy, miibus, rlphy_driver, 0, 0);
|
||||
|
||||
static int rlphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void rlphy_status(struct mii_softc *);
|
||||
|
@ -76,15 +76,13 @@ static device_method_t rlswitch_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t rlswitch_devclass;
|
||||
|
||||
static driver_t rlswitch_driver = {
|
||||
"rlswitch",
|
||||
rlswitch_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(rlswitch, miibus, rlswitch_driver, rlswitch_devclass, 0, 0);
|
||||
DRIVER_MODULE(rlswitch, miibus, rlswitch_driver, 0, 0);
|
||||
|
||||
static int rlswitch_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void rlswitch_status(struct mii_softc *);
|
||||
|
@ -69,15 +69,13 @@ static device_method_t smcphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t smcphy_devclass;
|
||||
|
||||
static driver_t smcphy_driver = {
|
||||
"smcphy",
|
||||
smcphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(smcphy, miibus, smcphy_driver, smcphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(smcphy, miibus, smcphy_driver, 0, 0);
|
||||
|
||||
static const struct mii_phydesc smcphys[] = {
|
||||
MII_PHY_DESC(SEEQ, 80220),
|
||||
|
@ -67,15 +67,13 @@ static device_method_t smscphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t smscphy_devclass;
|
||||
|
||||
static driver_t smscphy_driver = {
|
||||
"smscphy",
|
||||
smscphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(smscphy, miibus, smscphy_driver, smscphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(smscphy, miibus, smscphy_driver, 0, 0);
|
||||
|
||||
static const struct mii_phydesc smscphys[] = {
|
||||
MII_PHY_DESC(SMC, LAN8710A),
|
||||
|
@ -76,15 +76,13 @@ static device_method_t tdkphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t tdkphy_devclass;
|
||||
|
||||
static driver_t tdkphy_driver = {
|
||||
"tdkphy",
|
||||
tdkphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(tdkphy, miibus, tdkphy_driver, tdkphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(tdkphy, miibus, tdkphy_driver, 0, 0);
|
||||
|
||||
static int tdkphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void tdkphy_status(struct mii_softc *);
|
||||
|
@ -84,15 +84,13 @@ static const struct mii_phydesc truephys[] = {
|
||||
MII_PHY_END
|
||||
};
|
||||
|
||||
static devclass_t truephy_devclass;
|
||||
|
||||
static driver_t truephy_driver = {
|
||||
"truephy",
|
||||
truephy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(truephy, miibus, truephy_driver, truephy_devclass, 0, 0);
|
||||
DRIVER_MODULE(truephy, miibus, truephy_driver, 0, 0);
|
||||
|
||||
static const struct mii_phy_funcs truephy_funcs = {
|
||||
truephy_service,
|
||||
|
@ -91,15 +91,13 @@ static device_method_t ukphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t ukphy_devclass;
|
||||
|
||||
static driver_t ukphy_driver = {
|
||||
"ukphy",
|
||||
ukphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(ukphy, miibus, ukphy_driver, ukphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(ukphy, miibus, ukphy_driver, 0, 0);
|
||||
|
||||
static int ukphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
|
||||
|
@ -335,12 +335,10 @@ static device_method_t vscphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t vscphy_devclass;
|
||||
|
||||
static driver_t vscphy_driver = {
|
||||
"vscphy",
|
||||
vscphy_methods,
|
||||
sizeof(struct vscphy_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(vscphy, miibus, vscphy_driver, vscphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(vscphy, miibus, vscphy_driver, 0, 0);
|
||||
|
@ -71,15 +71,13 @@ static device_method_t xmphy_methods[] = {
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
||||
static devclass_t xmphy_devclass;
|
||||
|
||||
static driver_t xmphy_driver = {
|
||||
"xmphy",
|
||||
xmphy_methods,
|
||||
sizeof(struct mii_softc)
|
||||
};
|
||||
|
||||
DRIVER_MODULE(xmphy, miibus, xmphy_driver, xmphy_devclass, 0, 0);
|
||||
DRIVER_MODULE(xmphy, miibus, xmphy_driver, 0, 0);
|
||||
|
||||
static int xmphy_service(struct mii_softc *, struct mii_data *, int);
|
||||
static void xmphy_status(struct mii_softc *);
|
||||
|
Loading…
Reference in New Issue
Block a user