patch-2.1.104 linux/drivers/char/pcwd.c

Next file: linux/drivers/char/pcxx.c
Previous file: linux/drivers/char/pc_keyb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.103/linux/drivers/char/pcwd.c linux/drivers/char/pcwd.c
@@ -126,7 +126,7 @@
 
 	/* Sleep 1/2 second (or 500000 microseconds :) */
 
-		udelay(500000L);
+		mdelay(500);
 		done = 0;
 
 	/* If there's a heart beat in both instances, then this means we
@@ -455,7 +455,7 @@
 	int i;
 
 	outb_p(cmd, current_readport + 2);
-	udelay(1000L);
+	mdelay(1);
 
 	i = inb(current_readport);
 	i = inb(current_readport);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov