From: Ayaz Abdulla Date: Sun, 13 Jan 2008 21:03:01 +0000 (-0500) Subject: forcedeth: tx pause fix X-Git-Tag: v2.6.25-rc1~1065^2~23 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=32fa8b27eaec2f4bc978cadfb84b375de57311ce;p=linux-2.6-omap-h63xx.git forcedeth: tx pause fix This patch fixes the tx pause enable watermark flags. The new values where determined to be optimal during testing. Signed-off-by: Ayaz Abdulla Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index d3e399bb6cc..608195603f5 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c @@ -316,8 +316,8 @@ enum { NvRegTxRingPhysAddrHigh = 0x148, NvRegRxRingPhysAddrHigh = 0x14C, NvRegTxPauseFrame = 0x170, -#define NVREG_TX_PAUSEFRAME_DISABLE 0x1ff0080 -#define NVREG_TX_PAUSEFRAME_ENABLE 0x0c00030 +#define NVREG_TX_PAUSEFRAME_DISABLE 0x01ff0080 +#define NVREG_TX_PAUSEFRAME_ENABLE 0x01800010 NvRegMIIStatus = 0x180, #define NVREG_MIISTAT_ERROR 0x0001 #define NVREG_MIISTAT_LINKCHANGE 0x0008