(27/42) ac3200
Subsystems (2)
PATCH 1/1 (27/42) ac3200
NE51-ac3200
* switched ac3200 to dynamic allocation
* ac3200: fixed order of freeing bugs
* ac3200: fixed clobbering on autoprobe
* ac3200: fixed resource leaks on failure exits
drivers/net/Space.c +4 -4
@@ -63,7 +63,7 @@extern struct net_device *elmc_probe (int unit);extern struct net_device *skmca_probe (int unit);extern struct net_device *elplus_probe (int unit); -extern int ac3200_probe (struct net_device *); +extern struct net_device *ac3200_probe (int unit);extern struct net_device *es_probe (int unit);extern struct net_device *lne390_probe (int unit);extern struct net_device *e2100_probe (int unit);
@@ -164,13 +164,13 @@ #ifdef CONFIG_ULTRA32 {ultra32_probe, 0}, #endif -#ifdef CONFIG_AC3200 - {ac3200_probe, 0}, -#endif {NULL, 0}, }; static struct devprobe2 eisa_probes2[] __initdata = { +#ifdef CONFIG_AC3200 + {ac3200_probe, 0}, +#endif #ifdef CONFIG_ES3210 {es_probe, 0}, #endif
drivers/net/ac3200.c +67 -24
145 lines not on this page · raw message