(2/42) eepro
Subsystems (2)
PATCH 1/1 (2/42) eepro
Patch from viro: NE26-eepro
* switched eepro to dynamic allocation
* eepro: embedded ->priv
* eepro: fixed clobbering on autoprobe
* eepro: fixed IO before request_region()
* eepro: fixed resource leaks on failure exits
drivers/net/Space.c +4 -4
@@ -50,7 +50,7 @@extern int hp_probe (struct net_device *dev);extern int hp_plus_probe (struct net_device *dev);extern int express_probe (struct net_device *); -extern int eepro_probe (struct net_device *); +extern struct net_device *eepro_probe (int unit);extern int at1500_probe (struct net_device *);extern int at1700_probe (struct net_device *);extern int fmv18x_probe (struct net_device *);
@@ -253,13 +253,13 @@ #ifdef CONFIG_EEXPRESS /* Intel EtherExpress */ {express_probe, 0}, #endif -#ifdef CONFIG_EEXPRESS_PRO /* Intel EtherExpress Pro/10 */ - {eepro_probe, 0}, -#endif {NULL, 0}, }; static struct devprobe2 isa_probes2[] __initdata = { +#ifdef CONFIG_EEXPRESS_PRO /* Intel EtherExpress Pro/10 */ + {eepro_probe, 0}, +#endif #ifdef CONFIG_EWRK3 /* DEC EtherWORKS 3 */ {ewrk3_probe, 0}, #endif
drivers/net/eepro.c +129 -127
365 lines not on this page · raw message