(4/42) eth16i
Subsystems (2)
PATCH 1/1 (4/42) eth16i
NE28-eth16i
* switched eth16i to dynamic allocation
* eth16i: embedded ->priv
* eth16i: fixed resource leaks on failure exits
drivers/net/Space.c +4 -4
@@ -54,7 +54,7 @@extern int at1500_probe (struct net_device *);extern int at1700_probe (struct net_device *);extern int fmv18x_probe (struct net_device *); -extern int eth16i_probe (struct net_device *); +extern struct net_device *eth16i_probe (int unit);extern struct net_device *i82596_probe (int unit);extern struct net_device *ewrk3_probe (int unit);extern struct net_device *el1_probe (int unit);
@@ -247,13 +247,13 @@ #ifdef CONFIG_FMV18X /* Fujitsu FMV-181/182 */ {fmv18x_probe, 0}, #endif -#ifdef CONFIG_ETH16I - {eth16i_probe, 0}, /* ICL EtherTeam 16i/32 */ -#endif {NULL, 0}, }; static struct devprobe2 isa_probes2[] __initdata = { +#ifdef CONFIG_ETH16I + {eth16i_probe, 0}, /* ICL EtherTeam 16i/32 */ +#endif #ifdef CONFIG_EEXPRESS /* Intel EtherExpress */ {express_probe, 0}, #endif
drivers/net/eth16i.c +61 -58
220 lines not on this page · raw message