diff options
author | Florian Fainelli <florian.fainelli@telecomint.eu> | 2008-07-13 08:35:00 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-22 19:59:39 -0400 |
commit | 31718dedf62fd62e807001138ab5ac76e9b11064 (patch) | |
tree | 88f7f55540be351b617e954eb7afe31251d12677 /drivers/net/r6040.c | |
parent | 32f565df9ba451a24117db67003ed2ae21bab88c (diff) |
r6040: change the default waiting time
This patch changes the default waiting time of a packet, which
along with our previous r6040_rx path, was causing huge delays
with another host (160 to 230 ms).
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/r6040.c')
-rw-r--r-- | drivers/net/r6040.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 973f1e81667a..b68781d35928 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c | |||
@@ -388,8 +388,8 @@ static void r6040_init_mac_regs(struct net_device *dev) | |||
388 | iowrite16(lp->rx_ring_dma >> 16, ioaddr + MRD_SA1); | 388 | iowrite16(lp->rx_ring_dma >> 16, ioaddr + MRD_SA1); |
389 | 389 | ||
390 | /* Set interrupt waiting time and packet numbers */ | 390 | /* Set interrupt waiting time and packet numbers */ |
391 | iowrite16(0x0F06, ioaddr + MT_ICR); | 391 | iowrite16(0, ioaddr + MT_ICR); |
392 | iowrite16(0x0F06, ioaddr + MR_ICR); | 392 | iowrite16(0, ioaddr + MR_ICR); |
393 | 393 | ||
394 | /* Enable interrupts */ | 394 | /* Enable interrupts */ |
395 | iowrite16(INT_MASK, ioaddr + MIER); | 395 | iowrite16(INT_MASK, ioaddr + MIER); |