Space.c (47fd22f2b84765a2f7e3f150282497b902624547) Space.c (e179d78ee11a70e2675bc572f9f4e33d97233b23)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
4 * operating system. INET is implemented using the BSD Socket
5 * interface as the means of communication with the user level.
6 *
7 * Holds initial configuration information for devices.
8 *

--- 66 unchanged lines hidden (view full) ---

75 {lance_probe, 0},
76#endif
77#ifdef CONFIG_SMC9194
78 {smc_init, 0},
79#endif
80#ifdef CONFIG_CS89x0_ISA
81 {cs89x0_probe, 0},
82#endif
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
4 * operating system. INET is implemented using the BSD Socket
5 * interface as the means of communication with the user level.
6 *
7 * Holds initial configuration information for devices.
8 *

--- 66 unchanged lines hidden (view full) ---

75 {lance_probe, 0},
76#endif
77#ifdef CONFIG_SMC9194
78 {smc_init, 0},
79#endif
80#ifdef CONFIG_CS89x0_ISA
81 {cs89x0_probe, 0},
82#endif
83#if defined(CONFIG_MVME16x_NET) || defined(CONFIG_BVME6000_NET) /* Intel */
84 {i82596_probe, 0}, /* I82596 */
85#endif
86#ifdef CONFIG_NI65
87 {ni65_probe, 0},
88#endif
89 {NULL, 0},
90};
91
83#ifdef CONFIG_NI65
84 {ni65_probe, 0},
85#endif
86 {NULL, 0},
87};
88
92static struct devprobe2 m68k_probes[] __initdata = {
93#ifdef CONFIG_ATARILANCE /* Lance-based Atari ethernet boards */
94 {atarilance_probe, 0},
95#endif
96#ifdef CONFIG_SUN3LANCE /* sun3 onboard Lance chip */
97 {sun3lance_probe, 0},
98#endif
99#ifdef CONFIG_SUN3_82586 /* sun3 onboard Intel 82586 chip */
100 {sun3_82586_probe, 0},
101#endif
102#ifdef CONFIG_APNE /* A1200 PCMCIA NE2000 */
103 {apne_probe, 0},
104#endif
105#ifdef CONFIG_MVME147_NET /* MVME147 internal Ethernet */
106 {mvme147lance_probe, 0},
107#endif
108 {NULL, 0},
109};
110
111/* Unified ethernet device probe, segmented per architecture and
112 * per bus interface. This drives the legacy devices only for now.
113 */
114
115static void __init ethif_probe2(int unit)
116{
117 unsigned long base_addr = netdev_boot_base("eth", unit);
118
119 if (base_addr == 1)
120 return;
121
89/* Unified ethernet device probe, segmented per architecture and
90 * per bus interface. This drives the legacy devices only for now.
91 */
92
93static void __init ethif_probe2(int unit)
94{
95 unsigned long base_addr = netdev_boot_base("eth", unit);
96
97 if (base_addr == 1)
98 return;
99
122 (void)(probe_list2(unit, m68k_probes, base_addr == 0) &&
123 probe_list2(unit, isa_probes, base_addr == 0));
100 probe_list2(unit, isa_probes, base_addr == 0);
124}
125
126/* Statically configured drivers -- order matters here. */
127static int __init net_olddevs_init(void)
128{
129 int num;
130
131#ifdef CONFIG_SBNI

--- 16 unchanged lines hidden ---
101}
102
103/* Statically configured drivers -- order matters here. */
104static int __init net_olddevs_init(void)
105{
106 int num;
107
108#ifdef CONFIG_SBNI

--- 16 unchanged lines hidden ---