aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAyaz Abdulla <aabdulla@nvidia.com>2008-01-13 16:03:01 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-03 07:28:39 -0500
commit32fa8b27eaec2f4bc978cadfb84b375de57311ce (patch)
tree06c6d783f35783ef1fba00243afa07015260f63a
parentf648d129038f40868dc79bbcb1bd3505e4a7faf2 (diff)
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 <aabdulla@nvidia.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/forcedeth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index d3e399bb6cc4..608195603f5a 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/forcedeth.c
@@ -316,8 +316,8 @@ enum {
316 NvRegTxRingPhysAddrHigh = 0x148, 316 NvRegTxRingPhysAddrHigh = 0x148,
317 NvRegRxRingPhysAddrHigh = 0x14C, 317 NvRegRxRingPhysAddrHigh = 0x14C,
318 NvRegTxPauseFrame = 0x170, 318 NvRegTxPauseFrame = 0x170,
319#define NVREG_TX_PAUSEFRAME_DISABLE 0x1ff0080 319#define NVREG_TX_PAUSEFRAME_DISABLE 0x01ff0080
320#define NVREG_TX_PAUSEFRAME_ENABLE 0x0c00030 320#define NVREG_TX_PAUSEFRAME_ENABLE 0x01800010
321 NvRegMIIStatus = 0x180, 321 NvRegMIIStatus = 0x180,
322#define NVREG_MIISTAT_ERROR 0x0001 322#define NVREG_MIISTAT_ERROR 0x0001
323#define NVREG_MIISTAT_LINKCHANGE 0x0008 323#define NVREG_MIISTAT_LINKCHANGE 0x0008