patch-1.3.5 linux/drivers/net/3c505.c

Next file: linux/drivers/net/CONFIG
Previous file: linux/drivers/char/vt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.4/linux/drivers/net/3c505.c linux/drivers/net/3c505.c
@@ -10,7 +10,7 @@
  *		be here without 3C505 technical reference provided by
  *		3Com.
  *
- * Version:	@(#)3c505.c	0.8	4-Jun-95
+ * Version:	@(#)3c505.c	0.8.1	26-Jun-95
  *
  * Authors:	Linux 3c505 device driver by
  *			Craig Southeren, <craigs@ineluki.apana.org.au>
@@ -101,7 +101,7 @@
  *  3 = messages when interrupts received
  */
 
-#define	ELP_VERSION	"0.7.0"
+#define	ELP_VERSION	"0.8.1"
 
 /*****************************************************************
  *
@@ -182,7 +182,7 @@
  *****************************************************************/
 
 typedef struct {
-	short got[NUM_TRANSMIT_CMDS];	/* flags for command completion */
+	volatile short got[NUM_TRANSMIT_CMDS];	/* flags for command completion */
 	pcb_struct tx_pcb;	/* PCB for foreground sending */
 	pcb_struct rx_pcb;	/* PCB for foreground receiving */
 	pcb_struct itx_pcb;	/* PCB for background sending */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this