mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
m68k: remove legacy probing
There are six m68k specific drivers that use the legacy probe method in drivers/net/Space.c. However, all of these only support a single device, and they completely ignore the command line settings from netdev_boot_setup_check, so there is really no point at all. Aside from sun3_82586, these already have a module_init function that can be used for built-in mode as well, simply by removing the #ifdef. Note that the 82596 driver was previously used on ISA as well, but that got dropped long ago. Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
47fd22f2b8
commit
e179d78ee1
@@ -80,34 +80,12 @@ static struct devprobe2 isa_probes[] __initdata = {
|
||||
#ifdef CONFIG_CS89x0_ISA
|
||||
{cs89x0_probe, 0},
|
||||
#endif
|
||||
#if defined(CONFIG_MVME16x_NET) || defined(CONFIG_BVME6000_NET) /* Intel */
|
||||
{i82596_probe, 0}, /* I82596 */
|
||||
#endif
|
||||
#ifdef CONFIG_NI65
|
||||
{ni65_probe, 0},
|
||||
#endif
|
||||
{NULL, 0},
|
||||
};
|
||||
|
||||
static struct devprobe2 m68k_probes[] __initdata = {
|
||||
#ifdef CONFIG_ATARILANCE /* Lance-based Atari ethernet boards */
|
||||
{atarilance_probe, 0},
|
||||
#endif
|
||||
#ifdef CONFIG_SUN3LANCE /* sun3 onboard Lance chip */
|
||||
{sun3lance_probe, 0},
|
||||
#endif
|
||||
#ifdef CONFIG_SUN3_82586 /* sun3 onboard Intel 82586 chip */
|
||||
{sun3_82586_probe, 0},
|
||||
#endif
|
||||
#ifdef CONFIG_APNE /* A1200 PCMCIA NE2000 */
|
||||
{apne_probe, 0},
|
||||
#endif
|
||||
#ifdef CONFIG_MVME147_NET /* MVME147 internal Ethernet */
|
||||
{mvme147lance_probe, 0},
|
||||
#endif
|
||||
{NULL, 0},
|
||||
};
|
||||
|
||||
/* Unified ethernet device probe, segmented per architecture and
|
||||
* per bus interface. This drives the legacy devices only for now.
|
||||
*/
|
||||
@@ -119,8 +97,7 @@ static void __init ethif_probe2(int unit)
|
||||
if (base_addr == 1)
|
||||
return;
|
||||
|
||||
(void)(probe_list2(unit, m68k_probes, base_addr == 0) &&
|
||||
probe_list2(unit, isa_probes, base_addr == 0));
|
||||
probe_list2(unit, isa_probes, base_addr == 0);
|
||||
}
|
||||
|
||||
/* Statically configured drivers -- order matters here. */
|
||||
|
||||
Reference in New Issue
Block a user