patch-2.4.0-test11 linux/drivers/atm/nicstar.c
Next file: linux/drivers/block/cpqarray.c
Previous file: linux/drivers/atm/atmtcp.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Nov 14 13:16:33 2000
- Orig file:
v2.4.0-test10/linux/drivers/atm/nicstar.c
- Orig date:
Tue Oct 31 12:42:26 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/atm/nicstar.c linux/drivers/atm/nicstar.c
@@ -271,24 +271,8 @@
proc_read: ns_proc_read
};
static struct timer_list ns_timer;
-static char *mac[NS_MAX_CARDS] = { NULL
-#if NS_MAX_CARDS > 1
- , NULL
-#endif /* NS_MAX_CARDS > 1 */
-#if NS_MAX_CARDS > 2
- , NULL
-#endif /* NS_MAX_CARDS > 2 */
-#if NS_MAX_CARDS > 3
- , NULL
-#endif /* NS_MAX_CARDS > 3 */
-#if NS_MAX_CARDS > 4
- , NULL
-#endif /* NS_MAX_CARDS > 4 */
- };
-
-#ifdef MODULE
+static char *mac[NS_MAX_CARDS];
MODULE_PARM(mac, "1-" __MODULE_STRING(NS_MAX_CARDS) "s");
-#endif /* MODULE */
/* Functions*******************************************************************/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)