patch-2.1.110 linux/include/linux/netdevice.h
Next file: linux/include/linux/parport.h
Previous file: linux/include/linux/mm.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Jul 20 17:32:55 1998
- Orig file:
v2.1.109/linux/include/linux/netdevice.h
- Orig date:
Wed Jun 24 22:54:11 1998
diff -u --recursive --new-file v2.1.109/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -189,10 +189,15 @@
unsigned int irq; /* device IRQ number */
/* Low-level status flags. */
- volatile unsigned char start, /* start an operation */
- interrupt; /* interrupt arrived */
- unsigned long tbusy; /* transmitter busy must be
- long for bitops */
+ volatile unsigned char start; /* start an operation */
+ /*
+ * These two are just single-bit flags, but due to atomicity
+ * reasons they have to be inside a "unsigned long". However,
+ * they should be inside the SAME unsigned long instead of
+ * this wasteful use of memory..
+ */
+ unsigned long interrupt; /* bitops.. */
+ unsigned long tbusy; /* transmitter busy */
struct device *next;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov