patch-2.4.4 linux/drivers/net/3c509.c
Next file: linux/drivers/net/3c515.c
Previous file: linux/drivers/net/3c507.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Apr 12 12:15:25 2001
- Orig file:
v2.4.3/linux/drivers/net/3c509.c
- Orig date:
Sun Mar 25 18:14:25 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/net/3c509.c linux/drivers/net/3c509.c
@@ -144,7 +144,7 @@
char mca_slot;
};
static int id_port __initdata = 0x110; /* Start with 0x110 to avoid new sound cards.*/
-static struct net_device *el3_root_dev = NULL;
+static struct net_device *el3_root_dev;
static ushort id_read_eeprom(int index);
static ushort read_eeprom(int ioaddr, int index);
@@ -209,10 +209,10 @@
short lrs_state = 0xff, i;
int ioaddr, irq, if_port;
u16 phys_addr[3];
- static int current_tag = 0;
+ static int current_tag;
int mca_slot = -1;
#ifdef CONFIG_ISAPNP
- static int pnp_cards = 0;
+ static int pnp_cards;
#endif /* CONFIG_ISAPNP */
if (dev) SET_MODULE_OWNER(dev);
@@ -942,7 +942,7 @@
int ioaddr = dev->base_addr;
if (el3_debug > 1) {
- static int old = 0;
+ static int old;
if (old != dev->mc_count) {
old = dev->mc_count;
printk("%s: Setting Rx mode to %d addresses.\n", dev->name, dev->mc_count);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)