patch-2.1.53 linux/include/linux/netdevice.h
Next file: linux/include/linux/sockios.h
Previous file: linux/include/linux/if_pppvar.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Sep 4 13:25:28 1997
- Orig file:
v2.1.52/linux/include/linux/netdevice.h
- Orig date:
Mon Jul 7 16:02:45 1997
diff -u --recursive --new-file v2.1.52/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -130,8 +130,21 @@
};
+/* Media selection options. */
+enum {
+ IF_PORT_UNKNOWN = 0,
+ IF_PORT_10BASE2,
+ IF_PORT_10BASET,
+ IF_PORT_AUI,
+ IF_PORT_100BASET,
+ IF_PORT_100BASETX,
+ IF_PORT_100BASEFX
+};
+
#ifdef __KERNEL__
+extern const char *if_port_text[];
+
#include <linux/skbuff.h>
/*
@@ -163,7 +176,7 @@
unsigned long mem_end; /* shared mem end */
unsigned long mem_start; /* shared mem start */
unsigned long base_addr; /* device I/O address */
- unsigned char irq; /* device IRQ number */
+ unsigned int irq; /* device IRQ number */
/* Low-level status flags. */
volatile unsigned char start, /* start an operation */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov