patch-2.0.36 linux/drivers/net/apricot.c

Next file: linux/drivers/net/de4x5.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.35/linux/drivers/net/apricot.c linux/drivers/net/apricot.c
@@ -147,14 +147,14 @@
 };
 
 struct i596_private {
-    struct i596_scp scp;
-    struct i596_iscp iscp;
-    struct i596_scb scb;
-    struct i596_cmd set_add;
+    volatile struct i596_scp scp;
+    volatile struct i596_iscp iscp;
+    volatile struct i596_scb scb;
+    volatile struct i596_cmd set_add;
     char eth_addr[8];
-    struct i596_cmd set_conf;
+    volatile struct i596_cmd set_conf;
     char i596_config[16];
-    struct i596_cmd tdr;
+    volatile struct i596_cmd tdr;
     unsigned long stat;
     int last_restart;
     struct i596_rfd *rx_tail;
@@ -930,7 +930,7 @@
     while (lp->scb.status, lp->scb.command)
 	if (--boguscnt == 0)
 	{
-	    printk("%s: close timed timed out with status %4.4x, cmd %4.4x.\n",
+	    printk("%s: close timed out with status %4.4x, cmd %4.4x.\n",
 		   dev->name, lp->scb.status, lp->scb.command);
 	    break;
     	}

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