Commit a2449a40 authored by Roger Luethi's avatar Roger Luethi Committed by Jeff Garzik

[PATCH] via-rhine 1.19-2.5: One more Rhine-I fix

This patch fixes another way the Rhine-I found to break down under load. It
should bring Rhine-I behavior on par with the Rhine-II.
parent ccaaf4f1
...@@ -122,11 +122,14 @@ ...@@ -122,11 +122,14 @@
- No filtering multicast in promisc mode (Edward Peng) - No filtering multicast in promisc mode (Edward Peng)
- Fix for Rhine-I Tx timeouts - Fix for Rhine-I Tx timeouts
LK1.1.19 (Roger Luethi)
- Increase Tx threshold for unspecified errors
*/ */
#define DRV_NAME "via-rhine" #define DRV_NAME "via-rhine"
#define DRV_VERSION "1.1.18-2.5" #define DRV_VERSION "1.1.19-2.5"
#define DRV_RELDATE "July-4-2003" #define DRV_RELDATE "July-12-2003"
/* A few user-configurable values. /* A few user-configurable values.
...@@ -1664,9 +1667,13 @@ static void via_rhine_error(struct net_device *dev, int intr_status) ...@@ -1664,9 +1667,13 @@ static void via_rhine_error(struct net_device *dev, int intr_status)
} }
if ((intr_status & IntrTxError) && ~( IntrTxAborted | IntrTxUnderrun | if ((intr_status & IntrTxError) && ~( IntrTxAborted | IntrTxUnderrun |
IntrTxDescRace )) { IntrTxDescRace )) {
if (debug > 2) if (np->tx_thresh < 0xE0) {
printk(KERN_INFO "%s: Unspecified error.\n", writeb(np->tx_thresh += 0x20, ioaddr + TxConfig);
dev->name); }
if (debug > 1)
printk(KERN_INFO "%s: Unspecified error. Tx "
"threshold now %2.2x.\n",
dev->name, np->tx_thresh);
} }
if (intr_status & ( IntrTxAborted | IntrTxUnderrun | IntrTxDescRace | if (intr_status & ( IntrTxAborted | IntrTxUnderrun | IntrTxDescRace |
IntrTxError )) IntrTxError ))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment