diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-09-28 14:05:18 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-09-28 14:05:18 +0000 |
| commit | bd071d4d19411be5b5d6563a6bd0997019b4fb4e (patch) | |
| tree | 35676a2d0f0718ed2cb7c55ee99f67355bdc41f6 /sys/dev/nfe/if_nfe.c | |
| parent | 4ac1175e894186a00453a93e25a120a7b41832cc (diff) | |
Notes
Diffstat (limited to 'sys/dev/nfe/if_nfe.c')
| -rw-r--r-- | sys/dev/nfe/if_nfe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c index fda21c0516d8..1675f032bddc 100644 --- a/sys/dev/nfe/if_nfe.c +++ b/sys/dev/nfe/if_nfe.c @@ -1630,7 +1630,7 @@ nfe_free_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) } #ifdef DEVICE_POLLING -static poll_handler_drv_t nfe_poll; +static poll_handler_t nfe_poll; static int @@ -1782,7 +1782,7 @@ nfe_ioctl(if_t ifp, u_long cmd, caddr_t data) #ifdef DEVICE_POLLING if ((mask & IFCAP_POLLING) != 0) { if ((ifr->ifr_reqcap & IFCAP_POLLING) != 0) { - error = ether_poll_register_drv(nfe_poll, ifp); + error = ether_poll_register(nfe_poll, ifp); if (error) break; NFE_LOCK(sc); |
