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.
This commit is contained in:
parent
d314ebf548
commit
93856bdece
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218789
@ -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) {
|
||||
|
@ -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 */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user