This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / net / mac89x0.c
index f65b0db..8c08255 100644 (file)
@@ -98,7 +98,6 @@ static char *version =
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
 #include <linux/skbuff.h>
-#include <linux/delay.h>
 
 #include <asm/system.h>
 #include <asm/bitops.h>
@@ -309,7 +308,8 @@ void __init reset_chip(struct net_device *dev)
        writereg(dev, PP_SelfCTL, readreg(dev, PP_SelfCTL) | POWER_ON_RESET);
 
        /* wait 30 ms */
-       msleep_interruptible(30);
+       current->state = TASK_INTERRUPTIBLE;
+       schedule_timeout(30*HZ/1000);
 
        /* Wait until the chip is reset */
        reset_start_time = jiffies;