(15/42) hp
Subsystems (2)
PATCH 1/1 (15/42) hp
Based on viro NE39-hp
* switched hp to dynamic allocation
* hp: fixed order of freeing bugs
* hp: fixed resource leaks on failure exits
* hp: fixed clobbering on autoprobe
drivers/net/Space.c +4 -4
@@ -47,7 +47,7 @@extern int wd_probe (struct net_device *dev);extern int el2_probe (struct net_device *dev);extern struct net_device *ne_probe (int unit); -extern int hp_probe (struct net_device *dev); +extern struct net_device *hp_probe (int unit);extern struct net_device *hp_plus_probe (int unit);extern struct net_device *express_probe (int unit);extern struct net_device *eepro_probe (int unit);
@@ -213,13 +213,13 @@ #ifdef CONFIG_EL2 /* 3c503 */ {el2_probe, 0}, #endif -#ifdef CONFIG_HPLAN - {hp_probe, 0}, -#endif {NULL, 0}, }; static struct devprobe2 isa_probes2[] __initdata = { +#ifdef CONFIG_HPLAN + {hp_probe, 0}, +#endif #ifdef CONFIG_HPLAN_PLUS {hp_plus_probe, 0}, #endif
drivers/net/hp.c +62 -22
140 lines not on this page · raw message