diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-08-01 23:50:15 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-08-01 23:50:15 +0000 |
commit | 934e414de794df263fa7dd9bf1d68f0d8f430bb4 (patch) | |
tree | abba8f6910bed37ddad690a82e99a1c11f42e6f9 /sys/dev/pci/if_em.c | |
parent | 2161eadc3fd63fed7b4b7821c96bdac73de6672d (diff) |
(em/ixgb)_(clean_transmit_interrupts/process_receive_interrupts) ->
(em/ixgb)_(txeof/rxeof)
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r-- | sys/dev/pci/if_em.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index d451add0d88..5db364b6c25 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -/* $OpenBSD: if_em.c,v 1.138 2006/07/10 00:16:18 drahn Exp $ */ +/* $OpenBSD: if_em.c,v 1.139 2006/08/01 23:50:14 brad Exp $ */ /* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */ #include <dev/pci/if_em.h> @@ -146,10 +146,10 @@ void em_disable_intr(struct em_softc *); void em_free_transmit_structures(struct em_softc *); void em_free_receive_structures(struct em_softc *); void em_update_stats_counters(struct em_softc *); -void em_clean_transmit_interrupts(struct em_softc *); +void em_txeof(struct em_softc *); int em_allocate_receive_structures(struct em_softc *); int em_allocate_transmit_structures(struct em_softc *); -void em_process_receive_interrupts(struct em_softc *, int); +void em_rxeof(struct em_softc *, int); #ifdef __STRICT_ALIGNMENT void em_fixup_rx(struct em_softc *); #endif @@ -745,8 +745,8 @@ em_intr(void *arg) claimed = 1; if (ifp->if_flags & IFF_RUNNING) { - em_process_receive_interrupts(sc, -1); - em_clean_transmit_interrupts(sc); + em_rxeof(sc, -1); + em_txeof(sc); } /* Link status change */ @@ -906,7 +906,7 @@ em_encap(struct em_softc *sc, struct mbuf *m_head) * available hits the threshold */ if (sc->num_tx_desc_avail <= EM_TX_CLEANUP_THRESHOLD) { - em_clean_transmit_interrupts(sc); + em_txeof(sc); if (sc->num_tx_desc_avail <= EM_TX_CLEANUP_THRESHOLD) { sc->no_tx_desc_avail1++; return (ENOBUFS); @@ -2022,7 +2022,7 @@ em_transmit_checksum_setup(struct em_softc *sc, struct mbuf *mp, * **********************************************************************/ void -em_clean_transmit_interrupts(struct em_softc *sc) +em_txeof(struct em_softc *sc) { int i, num_avail; struct em_buffer *tx_buffer; @@ -2342,7 +2342,7 @@ em_free_receive_structures(struct em_softc *sc) * *********************************************************************/ void -em_process_receive_interrupts(struct em_softc *sc, int count) +em_rxeof(struct em_softc *sc, int count) { struct ifnet *ifp; struct mbuf *mp; |