patch-2.4.4 linux/drivers/net/3c515.c
Next file: linux/drivers/net/3c523.c
Previous file: linux/drivers/net/3c509.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Thu Apr 12 12:15:25 2001
- Orig file:
v2.4.3/linux/drivers/net/3c515.c
- Orig date:
Tue Mar 20 12:05:00 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/net/3c515.c linux/drivers/net/3c515.c
@@ -407,7 +407,7 @@
#ifdef MODULE
static int debug = -1;
/* A list of all installed Vortex devices, for removing the driver module. */
-static struct net_device *root_corkscrew_dev = NULL;
+static struct net_device *root_corkscrew_dev;
int init_module(void)
{
@@ -445,7 +445,7 @@
static int ioaddr;
#ifdef CONFIG_ISAPNP
short i;
- static int pnp_cards = 0;
+ static int pnp_cards;
#endif
#ifdef CONFIG_ISAPNP
@@ -1166,7 +1166,7 @@
printk("%s: interrupt, status %4.4x, timer %d.\n",
dev->name, status, latency);
if ((status & 0xE000) != 0xE000) {
- static int donedidthis = 0;
+ static int donedidthis;
/* Some interrupt controllers store a bogus interrupt from boot-time.
Ignore a single early interrupt, but don't hang the machine for
other interrupt problems. */
@@ -1234,7 +1234,7 @@
outw(AckIntr | RxEarly, ioaddr + EL3_CMD);
}
if (status & StatsFull) { /* Empty statistics. */
- static int DoneDidThat = 0;
+ static int DoneDidThat;
if (corkscrew_debug > 4)
printk("%s: Updating stats.\n",
dev->name);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)