patch-2.4.22 linux-2.4.22/drivers/net/wan/cosa.c
Next file: linux-2.4.22/drivers/net/wan/sbni.c
Previous file: linux-2.4.22/drivers/net/via-rhine.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/wan/cosa.c
- Orig date:
2003-06-13 07:51:35.000000000 -0700
diff -urN linux-2.4.21/drivers/net/wan/cosa.c linux-2.4.22/drivers/net/wan/cosa.c
@@ -228,8 +228,8 @@
/* NOTE: DMA is not autoprobed!!! */
static int dma[MAX_CARDS+1] = { 1, 7, 1, 7, 1, 7, 1, 7, 0, };
#else
-int io[MAX_CARDS+1] = { 0, };
-int dma[MAX_CARDS+1] = { 0, };
+static int io[MAX_CARDS+1];
+static int dma[MAX_CARDS+1];
#endif
/* IRQ can be safely autoprobed */
static int irq[MAX_CARDS+1] = { -1, -1, -1, -1, -1, -1, 0, };
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)