Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=275391a482c436282dde57beeffc5d61b229fdd2 Commit: 275391a482c436282dde57beeffc5d61b229fdd2 Parent: 07d3f51febdc139c63e95671126fd2791113902e Author: Francois Romieu <[EMAIL PROTECTED]> AuthorDate: Fri Feb 23 23:50:28 2007 +0100 Committer: Jeff Garzik <[EMAIL PROTECTED]> CommitDate: Sun Jul 8 22:16:44 2007 -0400
r8169: add bit description for the TxPoll register Signed-off-by: Francois Romieu <[EMAIL PROTECTED]> Cc: Edward Hsu <[EMAIL PROTECTED]> --- 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 5d9e754..d8862cd 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -250,6 +250,11 @@ enum rtl_register_content { CmdTxEnb = 0x04, RxBufEmpty = 0x01, + /* TXPoll register p.5 */ + HPQ = 0x80, /* Poll cmd on the high prio queue */ + NPQ = 0x40, /* Poll cmd on the low prio queue */ + FSWInt = 0x01, /* Forced software interrupt */ + /* Cfg9346Bits */ Cfg9346_Lock = 0x00, Cfg9346_Unlock = 0xc0, @@ -2405,7 +2410,7 @@ static int rtl8169_start_xmit(struct sk_buff *skb, struct net_device *dev) smp_wmb(); - RTL_W8(TxPoll, 0x40); /* set polling bit */ + RTL_W8(TxPoll, NPQ); /* set polling bit */ if (TX_BUFFS_AVAIL(tp) < MAX_SKB_FRAGS) { netif_stop_queue(dev); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html