patch-2.4.0-test10 linux/drivers/net/pcmcia/3c574_cs.c

Next file: linux/drivers/net/pcmcia/3c589_cs.c
Previous file: linux/drivers/net/ni52.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/drivers/net/pcmcia/3c574_cs.c linux/drivers/net/pcmcia/3c574_cs.c
@@ -117,7 +117,7 @@
 static int max_interrupt_work = 32;
 
 /* Force full duplex modes? */
-static int full_duplex = 0;
+static int full_duplex;
 
 /* To minimize the size of the driver source and make the driver more
    readable not all constants are symbolically defined.
@@ -511,11 +511,11 @@
 		
 		/* Roadrunner only: Turn on the MII transceiver */
 		outw(0x8040, ioaddr + Wn3_Options);
-		udelay(1000);
+		mdelay(1);
 		outw(0xc040, ioaddr + Wn3_Options);
 		wait_for_completion(dev, TxReset);
 		wait_for_completion(dev, RxReset);
-		udelay(1000);
+		mdelay(1);
 		outw(0x8040, ioaddr + Wn3_Options);
 		
 		EL3WINDOW(4);
@@ -783,11 +783,11 @@
 	
 	/* Roadrunner only: Turn on the MII transceiver. */
 	outw(0x8040, ioaddr + Wn3_Options);
-	udelay(1000);
+	mdelay(1);
 	outw(0xc040, ioaddr + Wn3_Options);
 	wait_for_completion(dev, TxReset);
 	wait_for_completion(dev, RxReset);
-	udelay(1000);
+	mdelay(1);
 	outw(0x8040, ioaddr + Wn3_Options);
 
 	/* Switch to the stats window, and clear all stats by reading. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)