diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-18 14:57:00 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-18 14:57:00 +0000 |
commit | 4f8153ccd5be0647068f1f4717255322e2c13e73 (patch) | |
tree | 0c37356b68bc8784c8d20ea642463ef1e22c64e3 /sys/dev | |
parent | b47aead30dcd1a9ed801ca42aed8c1ea60701cc8 (diff) |
reaching into altq unconditionally (and w/o ifdef ALTQ) is bad, mmkay?
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/dc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index e6d20896daa..50fe708ded2 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.131 2013/12/28 03:34:59 deraadt Exp $ */ +/* $OpenBSD: dc.c,v 1.132 2014/04/18 14:56:59 henning Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2565,10 +2565,6 @@ dc_encap(struct dc_softc *sc, struct mbuf *m_head, u_int32_t *txidx) if (sc->dc_flags & DC_TX_USE_TX_INTR && sc->dc_cdata.dc_tx_cnt > 64) sc->dc_ldata->dc_tx_list[cur].dc_ctl |= htole32(DC_TXCTL_FINT); - else if ((sc->dc_flags & DC_TX_USE_TX_INTR) && - TBR_IS_ENABLED(&sc->sc_arpcom.ac_if.if_snd)) - sc->dc_ldata->dc_tx_list[cur].dc_ctl |= - htole32(DC_TXCTL_FINT); bus_dmamap_sync(sc->sc_dmat, map, 0, map->dm_mapsize, BUS_DMASYNC_PREWRITE); |