patch-2.1.62 linux/drivers/net/net_init.c

Next file: linux/drivers/net/ni52.c
Previous file: linux/drivers/net/ne.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.61/linux/drivers/net/net_init.c linux/drivers/net/net_init.c
@@ -59,7 +59,7 @@
 */
 
 /* The list of used and available "eth" slots (for "eth0", "eth1", etc.) */
-#define MAX_ETH_CARDS 16 /* same as the number if irq's in irq2dev[] */
+#define MAX_ETH_CARDS 16
 static struct device *ethdev_index[MAX_ETH_CARDS];
 
 
@@ -439,7 +439,7 @@
 
 #ifdef CONFIG_TR
 /* The list of used and available "tr" slots */
-#define MAX_TR_CARDS 16 /* same as the number of irq's in irq2dev[] */
+#define MAX_TR_CARDS 16
 static struct device *trdev_index[MAX_TR_CARDS];
 
 struct device *init_trdev(struct device *dev, int sizeof_priv)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov