diff options
author | yongari <yongari@FreeBSD.org> | 2011-02-18 03:37:53 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-02-18 03:37:53 +0000 |
commit | ce58b3ca58e220f981cacd0e00a178c786032552 (patch) | |
tree | 376596e4a41cec3acf8baae57d72cd6a7492fbed /sys/dev/dc | |
parent | ddc627825d19d98365c3d2b76482818116b2167a (diff) | |
download | FreeBSD-src-ce58b3ca58e220f981cacd0e00a178c786032552.zip FreeBSD-src-ce58b3ca58e220f981cacd0e00a178c786032552.tar.gz |
Remove use case of DC_TX_ONE. It was used to limit queue just 1 TX
frame in DM910x controllers. In r67595(more than 10 years ago) it
was replaced to use "Store and Forward" mode and made controller
generate TX completion interrupt for every frame.
Diffstat (limited to 'sys/dev/dc')
-rw-r--r-- | sys/dev/dc/if_dc.c | 5 | ||||
-rw-r--r-- | sys/dev/dc/if_dcreg.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 842cd88..29125bf 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -3391,11 +3391,6 @@ dc_start_locked(struct ifnet *ifp) * to him. */ BPF_MTAP(ifp, m_head); - - if (sc->dc_flags & DC_TX_ONE) { - ifp->if_drv_flags |= IFF_DRV_OACTIVE; - break; - } } if (queued > 0) { diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h index c0b6ab8..066ea88 100644 --- a/sys/dev/dc/if_dcreg.h +++ b/sys/dev/dc/if_dcreg.h @@ -780,7 +780,6 @@ struct dc_softc { #define DC_128BIT_HASH 0x00001000 #define DC_64BIT_HASH 0x00002000 #define DC_TULIP_LEDS 0x00004000 -#define DC_TX_ONE 0x00008000 #define DC_TX_ALIGN 0x00010000 /* align mbuf on tx */ /* |