(38/42) bionet
Subsystems (2)
PATCH 1/1 (38/42) bionet
NE63-bionet
* switched to dynamic allocation
* fixed resource leaks on failure exits
drivers/net/Space.c +4 -4
@@ -78,7 +78,7 @@extern int sun3lance_probe (struct net_device *);extern int sun3_82586_probe (struct net_device *);extern int apne_probe (struct net_device *); -extern int bionet_probe (struct net_device *); +extern struct net_device *bionet_probe (int unit);extern struct net_device *pamsnet_probe (int unit);extern struct net_device *cs89x0_probe (int unit);extern struct net_device *hplance_probe (int unit);
@@ -308,13 +308,13 @@ #ifdef CONFIG_APNE /* A1200 PCMCIA NE2000 */ {apne_probe, 0}, #endif -#ifdef CONFIG_ATARI_BIONET /* Atari Bionet Ethernet board */ - {bionet_probe, 0}, -#endif {NULL, 0}, }; static struct devprobe2 m68k_probes2[] __initdata = { +#ifdef CONFIG_ATARI_BIONET /* Atari Bionet Ethernet board */ + {bionet_probe, 0}, +#endif #ifdef CONFIG_ATARI_PAMSNET /* Atari PAMsNet Ethernet board */ {pamsnet_probe, 0}, #endif
drivers/net/atari_bionet.c +31 -31
110 lines not on this page · raw message