Rename left off of eqos to if_eqos accordingly.
This commit is contained in:
parent
974be51b3f
commit
5ba0691da9
@ -216,7 +216,7 @@ eqos_miibus_statchg(device_t dev)
|
||||
|
||||
WR4(sc, GMAC_MAC_CONFIGURATION, reg);
|
||||
|
||||
EQOS_SET_SPEED(dev, IFM_SUBTYPE(mii->mii_media_active));
|
||||
IF_EQOS_SET_SPEED(dev, IFM_SUBTYPE(mii->mii_media_active));
|
||||
|
||||
WR4(sc, GMAC_MAC_1US_TIC_COUNTER, (sc->csr_clock / 1000000) - 1);
|
||||
}
|
||||
@ -1143,7 +1143,7 @@ eqos_attach(device_t dev)
|
||||
}
|
||||
|
||||
|
||||
if ((error = EQOS_INIT(dev)))
|
||||
if ((error = IF_EQOS_INIT(dev)))
|
||||
return (error);
|
||||
|
||||
mtx_init(&sc->lock, "eqos lock", MTX_NETWORK_LOCK, MTX_DEF);
|
||||
|
@ -243,7 +243,7 @@ static device_method_t eqos_fdt_methods[] = {
|
||||
DEVMETHOD(device_probe, eqos_fdt_probe),
|
||||
|
||||
/* EQOS interface */
|
||||
DEVMETHOD(eqos_init, eqos_fdt_init),
|
||||
DEVMETHOD(if_eqos_init, eqos_fdt_init),
|
||||
|
||||
DEVMETHOD_END
|
||||
};
|
||||
|
@ -28,7 +28,7 @@
|
||||
# $Id: eqos_if.m 921 2022-08-09 18:38:11Z sos $
|
||||
#
|
||||
|
||||
INTERFACE eqos;
|
||||
INTERFACE if_eqos;
|
||||
|
||||
CODE {
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user