Skip to content

Commit 31718de

Browse files
Florian FainelliJeff Garzik
authored andcommitted
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 <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
1 parent 32f565d commit 31718de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/r6040.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ static void r6040_init_mac_regs(struct net_device *dev)
388388
iowrite16(lp->rx_ring_dma >> 16, ioaddr + MRD_SA1);
389389

390390
/* Set interrupt waiting time and packet numbers */
391-
iowrite16(0x0F06, ioaddr + MT_ICR);
392-
iowrite16(0x0F06, ioaddr + MR_ICR);
391+
iowrite16(0, ioaddr + MT_ICR);
392+
iowrite16(0, ioaddr + MR_ICR);
393393

394394
/* Enable interrupts */
395395
iowrite16(INT_MASK, ioaddr + MIER);

0 commit comments

Comments
 (0)