diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/r8169.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 5d9e75481f42..d8862cd84f3d 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -250,6 +250,11 @@ enum rtl_register_content { | |||
250 | CmdTxEnb = 0x04, | 250 | CmdTxEnb = 0x04, |
251 | RxBufEmpty = 0x01, | 251 | RxBufEmpty = 0x01, |
252 | 252 | ||
253 | /* TXPoll register p.5 */ | ||
254 | HPQ = 0x80, /* Poll cmd on the high prio queue */ | ||
255 | NPQ = 0x40, /* Poll cmd on the low prio queue */ | ||
256 | FSWInt = 0x01, /* Forced software interrupt */ | ||
257 | |||
253 | /* Cfg9346Bits */ | 258 | /* Cfg9346Bits */ |
254 | Cfg9346_Lock = 0x00, | 259 | Cfg9346_Lock = 0x00, |
255 | Cfg9346_Unlock = 0xc0, | 260 | Cfg9346_Unlock = 0xc0, |
@@ -2405,7 +2410,7 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
2405 | 2410 | ||
2406 | smp_wmb(); | 2411 | smp_wmb(); |
2407 | 2412 | ||
2408 | RTL_W8(TxPoll, 0x40); /* set polling bit */ | 2413 | RTL_W8(TxPoll, NPQ); /* set polling bit */ |
2409 | 2414 | ||
2410 | if (TX_BUFFS_AVAIL(tp) < MAX_SKB_FRAGS) { | 2415 | if (TX_BUFFS_AVAIL(tp) < MAX_SKB_FRAGS) { |
2411 | netif_stop_queue(dev); | 2416 | netif_stop_queue(dev); |