patch-2.3.99-pre3 linux/drivers/atm/eni.h

Next file: linux/drivers/atm/fore200e.c
Previous file: linux/drivers/atm/eni.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/drivers/atm/eni.h linux/drivers/atm/eni.h
@@ -12,6 +12,7 @@
 #include <linux/skbuff.h>
 #include <linux/time.h>
 #include <linux/pci.h>
+#include <linux/spinlock.h>
 
 #include "midway.h"
 
@@ -65,6 +66,8 @@
 };
 
 struct eni_dev {
+	/*-------------------------------- spinlock */
+	spinlock_t lock;		/* sync with interrupt */
 	/*-------------------------------- base pointers into Midway address
 					   space */
 	unsigned long phy;		/* PHY interface chip registers */

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