Subject: [PATCH] [repost] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1)...
authorRichard Retanubun <RichardRetanubun@RuggedCom.com>
Tue, 26 May 2009 12:29:29 +0000 (08:29 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 15 Jun 2009 07:13:55 +0000 (00:13 -0700)
 From 584b5fbd4abfc43f920cc1c329633e03816e28be Mon Sep 17 00:00:00 2001
From: Richard Retanubun <RichardRetanubun@RuggedCom.com>
Date: Wed, 20 May 2009 18:26:01 -0400
Subject: [PATCH] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/mcfmii.c

index 4f1c0a0127b174971977be98b31dd6dc37f60a6d..4acc29e42cba4f7a55121a81c0362af2d4800c29 100644 (file)
@@ -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");