From: Ken Kawasaki Date: Sun, 30 Jan 2011 11:16:16 +0000 (+0000) Subject: axnet_cs: reduce delay time at ei_rx_overrun X-Git-Tag: v3.0~1794^2~87 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=785e8cc39baf31d5c18a2d198ded03a003c9c190;p=platform%2Fkernel%2Flinux-amlogic.git axnet_cs: reduce delay time at ei_rx_overrun axnet_cs: mdelay of 10ms is too long at ei_rx_overrun. It should be reduced to 2ms. Signed-off-by: Ken Kawasaki Signed-off-by: David S. Miller --- diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c index 1f42f6a..d3cb772 100644 --- a/drivers/net/pcmcia/axnet_cs.c +++ b/drivers/net/pcmcia/axnet_cs.c @@ -1488,12 +1488,10 @@ static void ei_rx_overrun(struct net_device *dev) /* * Wait a full Tx time (1.2ms) + some guard time, NS says 1.6ms total. - * Early datasheets said to poll the reset bit, but now they say that - * it "is not a reliable indicator and subsequently should be ignored." - * We wait at least 10ms. + * We wait at least 2ms. */ - mdelay(10); + mdelay(2); /* * Reset RBCR[01] back to zero as per magic incantation.