aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/Space.c29
-rw-r--r--drivers/net/wan/sbni.c1
-rw-r--r--include/net/Space.h31
3 files changed, 33 insertions, 28 deletions
diff --git a/drivers/net/Space.c b/drivers/net/Space.c
index a7271e093845..67977f15af25 100644
--- a/drivers/net/Space.c
+++ b/drivers/net/Space.c
@@ -32,39 +32,12 @@
32#include <linux/errno.h> 32#include <linux/errno.h>
33#include <linux/init.h> 33#include <linux/init.h>
34#include <linux/netlink.h> 34#include <linux/netlink.h>
35#include <net/Space.h>
35 36
36/* A unified ethernet device probe. This is the easiest way to have every 37/* A unified ethernet device probe. This is the easiest way to have every
37 ethernet adaptor have the name "eth[0123...]". 38 ethernet adaptor have the name "eth[0123...]".
38 */ 39 */
39 40
40extern struct net_device *hp100_probe(int unit);
41extern struct net_device *ultra_probe(int unit);
42extern struct net_device *wd_probe(int unit);
43extern struct net_device *ne_probe(int unit);
44extern struct net_device *fmv18x_probe(int unit);
45extern struct net_device *i82596_probe(int unit);
46extern struct net_device *ni65_probe(int unit);
47extern struct net_device *sonic_probe(int unit);
48extern struct net_device *smc_init(int unit);
49extern struct net_device *atarilance_probe(int unit);
50extern struct net_device *sun3lance_probe(int unit);
51extern struct net_device *sun3_82586_probe(int unit);
52extern struct net_device *apne_probe(int unit);
53extern struct net_device *cs89x0_probe(int unit);
54extern struct net_device *mvme147lance_probe(int unit);
55extern struct net_device *tc515_probe(int unit);
56extern struct net_device *lance_probe(int unit);
57extern struct net_device *mac8390_probe(int unit);
58extern struct net_device *mac89x0_probe(int unit);
59extern struct net_device *cops_probe(int unit);
60extern struct net_device *ltpc_probe(void);
61
62/* Fibre Channel adapters */
63extern int iph5526_probe(struct net_device *dev);
64
65/* SBNI adapters */
66extern int sbni_probe(int unit);
67
68struct devprobe2 { 41struct devprobe2 {
69 struct net_device *(*probe)(int unit); 42 struct net_device *(*probe)(int unit);
70 int status; /* non-zero if autoprobe has failed */ 43 int status; /* non-zero if autoprobe has failed */
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index 388ddf60a66d..1b89ecf0959e 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -57,6 +57,7 @@
57 57
58#include <net/net_namespace.h> 58#include <net/net_namespace.h>
59#include <net/arp.h> 59#include <net/arp.h>
60#include <net/Space.h>
60 61
61#include <asm/io.h> 62#include <asm/io.h>
62#include <asm/types.h> 63#include <asm/types.h>
diff --git a/include/net/Space.h b/include/net/Space.h
new file mode 100644
index 000000000000..8a32771e4215
--- /dev/null
+++ b/include/net/Space.h
@@ -0,0 +1,31 @@
1/* A unified ethernet device probe. This is the easiest way to have every
2 * ethernet adaptor have the name "eth[0123...]".
3 */
4
5struct net_device *hp100_probe(int unit);
6struct net_device *ultra_probe(int unit);
7struct net_device *wd_probe(int unit);
8struct net_device *ne_probe(int unit);
9struct net_device *fmv18x_probe(int unit);
10struct net_device *i82596_probe(int unit);
11struct net_device *ni65_probe(int unit);
12struct net_device *sonic_probe(int unit);
13struct net_device *smc_init(int unit);
14struct net_device *atarilance_probe(int unit);
15struct net_device *sun3lance_probe(int unit);
16struct net_device *sun3_82586_probe(int unit);
17struct net_device *apne_probe(int unit);
18struct net_device *cs89x0_probe(int unit);
19struct net_device *mvme147lance_probe(int unit);
20struct net_device *tc515_probe(int unit);
21struct net_device *lance_probe(int unit);
22struct net_device *mac8390_probe(int unit);
23struct net_device *mac89x0_probe(int unit);
24struct net_device *cops_probe(int unit);
25struct net_device *ltpc_probe(void);
26
27/* Fibre Channel adapters */
28int iph5526_probe(struct net_device *dev);
29
30/* SBNI adapters */
31int sbni_probe(int unit);