Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 785e8cc3 authored by Ken Kawasaki's avatar Ken Kawasaki Committed by David S. Miller
Browse files

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: default avatarKen Kawasaki <ken_kawasaki@spring.nifty.jp>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 85875236
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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.