]> err.no Git - linux-2.6/commitdiff
forcedeth: tx pause fix
authorAyaz Abdulla <aabdulla@nvidia.com>
Sun, 13 Jan 2008 21:03:01 +0000 (16:03 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2008 12:28:39 +0000 (04:28 -0800)
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>
drivers/net/forcedeth.c

index d3e399bb6cc48ae230b7d6653d82f3cccef3a71b..608195603f5a9d35ca99b7b788198799732a5c5a 100644 (file)
@@ -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