git: 5ba0691da9e2 - main - Rename left off of eqos to if_eqos accordingly.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Dec 2022 05:30:42 UTC
The branch main has been updated by ganbold: URL: https://cgit.FreeBSD.org/src/commit/?id=5ba0691da9e2e252411e5de3b58295f64fd8fefe commit 5ba0691da9e2e252411e5de3b58295f64fd8fefe Author: Søren Schmidt <sos@FreeBSD.org> AuthorDate: 2022-12-23 05:28:50 +0000 Commit: Ganbold Tsagaankhuu <ganbold@FreeBSD.org> CommitDate: 2022-12-23 05:28:50 +0000 Rename left off of eqos to if_eqos accordingly. --- sys/dev/eqos/if_eqos.c | 4 ++-- sys/dev/eqos/if_eqos_fdt.c | 2 +- sys/dev/eqos/if_eqos_if.m | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/eqos/if_eqos.c b/sys/dev/eqos/if_eqos.c index cacc51ef97b5..1eba702bb524 100644 --- a/sys/dev/eqos/if_eqos.c +++ b/sys/dev/eqos/if_eqos.c @@ -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); diff --git a/sys/dev/eqos/if_eqos_fdt.c b/sys/dev/eqos/if_eqos_fdt.c index 020aeb435285..5aa5e26a85fd 100644 --- a/sys/dev/eqos/if_eqos_fdt.c +++ b/sys/dev/eqos/if_eqos_fdt.c @@ -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 }; diff --git a/sys/dev/eqos/if_eqos_if.m b/sys/dev/eqos/if_eqos_if.m index 0f56ce76c960..59eea33afa0e 100644 --- a/sys/dev/eqos/if_eqos_if.m +++ b/sys/dev/eqos/if_eqos_if.m @@ -28,7 +28,7 @@ # $Id: eqos_if.m 921 2022-08-09 18:38:11Z sos $ # -INTERFACE eqos; +INTERFACE if_eqos; CODE { static int