diff options
author | glebius <glebius@FreeBSD.org> | 2014-09-28 14:05:18 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-09-28 14:05:18 +0000 |
commit | 0f9d61b26bf6208f30965550c504651a3bb13e0d (patch) | |
tree | 35676a2d0f0718ed2cb7c55ee99f67355bdc41f6 /sys/dev/nfe | |
parent | 10fd7562c167e71c4b6a5c82a3361aa6c015963b (diff) | |
download | FreeBSD-src-0f9d61b26bf6208f30965550c504651a3bb13e0d.zip FreeBSD-src-0f9d61b26bf6208f30965550c504651a3bb13e0d.tar.gz |
- Remove empty wrappers ether_poll_[de]register_drv(). [1]
- Move polling(9) declarations out of ifq.h back to if_var.h
they are absolutely unrelated to queues.
Submitted by: Mikhail <mp lenta.ru> [1]
Diffstat (limited to 'sys/dev/nfe')
-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 fda21c0..1675f03 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); |