Date: Mon, 6 Feb 2023 20:24:27 GMT From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d8b78838c5f0 - main - tsec(4): Fix the build from IfAPI conversion Message-ID: <202302062024.316KOR15091612@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=d8b78838c5f0c81c158658e1e2f6f4ca26a8f6f7 commit d8b78838c5f0c81c158658e1e2f6f4ca26a8f6f7 Author: Justin Hibbits <jhibbits@FreeBSD.org> AuthorDate: 2023-02-06 20:21:34 +0000 Commit: Justin Hibbits <jhibbits@FreeBSD.org> CommitDate: 2023-02-06 20:23:52 +0000 tsec(4): Fix the build from IfAPI conversion Fixes: 47842ecfe Sponsored by: Juniper Networks, Inc. --- sys/dev/tsec/if_tsec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/tsec/if_tsec.c b/sys/dev/tsec/if_tsec.c index 7680ef43b775..25dc25f57152 100644 --- a/sys/dev/tsec/if_tsec.c +++ b/sys/dev/tsec/if_tsec.c @@ -294,7 +294,7 @@ tsec_detach(struct tsec_softc *sc) if (sc->tsec_ifp != NULL) { #ifdef DEVICE_POLLING - if (sc->tsec_if_getcapenable(ifp) & IFCAP_POLLING) + if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) ether_poll_deregister(sc->tsec_ifp); #endif @@ -1414,7 +1414,7 @@ tsec_receive_intr(void *arg) TSEC_RECEIVE_LOCK(sc); #ifdef DEVICE_POLLING - if (sc->tsec_if_getcapenable(ifp) & IFCAP_POLLING) { + if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) { TSEC_RECEIVE_UNLOCK(sc); return; } @@ -1495,7 +1495,7 @@ tsec_transmit_intr(void *arg) TSEC_TRANSMIT_LOCK(sc); #ifdef DEVICE_POLLING - if (sc->tsec_if_getcapenable(ifp) & IFCAP_POLLING) { + if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) { TSEC_TRANSMIT_UNLOCK(sc); return; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302062024.316KOR15091612>