From daea412d19d3113cd6974b45993d185e15803c9c Mon Sep 17 00:00:00 2001 From: henning Date: Fri, 18 Apr 2014 14:56:59 +0000 Subject: [PATCH] reaching into altq unconditionally (and w/o ifdef ALTQ) is bad, mmkay? --- sys/dev/ic/dc.c | 6 +----- 1 file changed, 1 insertion(+), 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); -- 2.20.1