* [PATCH] 8390.c: Use mdelay(10) rather than udelay(10*1000)
@ 2004-10-29 20:36 Russell King
0 siblings, 0 replies; only message in thread
From: Russell King @ 2004-10-29 20:36 UTC (permalink / raw)
To: Linux Kernel List, Andrew Morton
ARM udelay can't cope with >2ms delays.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej orig/drivers/net/8390.c linux/drivers/net/8390.c
--- orig/drivers/net/8390.c Sat Oct 23 11:38:21 2004
+++ linux/drivers/net/8390.c Sat Oct 23 11:36:34 2004
@@ -813,7 +813,7 @@ static void ei_rx_overrun(struct net_dev
* We wait at least 10ms.
*/
- udelay(10*1000);
+ mdelay(10);
/*
* Reset RBCR[01] back to zero as per magic incantation.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-29 20:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-29 20:36 [PATCH] 8390.c: Use mdelay(10) rather than udelay(10*1000) Russell King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox