Skip to contentSkip to conversation

Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter.

PATCH New TsiChung Liew 1 participant 1 message Jun 1, 2009 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter.

From: Richard Retanubun <[email protected]>

---
 drivers/net/mcfmii.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mcfmii.c +1 -1
index 4f1c0a0..4acc29e 100644
@@ -270,7 +270,7 @@ void __mii_init(void)
 		if ((status & linkgood) == linkgood)
 			break;
 
-		udelay(500);
+		udelay(1);
 	}
 	if (i >= MCFFEC_TOUT_LOOP) {
 		printf("Link UP timeout\n");
Signature · 1 line
1.5.6.4