patch-2.1.88 linux/drivers/acorn/net/net-probe.c
Next file: linux/drivers/acorn/scsi/Config.in
Previous file: linux/drivers/acorn/net/etherh.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Mon Feb 16 15:49:48 1998
- Orig file:
v2.1.87/linux/drivers/acorn/net/net-probe.c
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.1.87/linux/drivers/acorn/net/net-probe.c linux/drivers/acorn/net/net-probe.c
@@ -0,0 +1,31 @@
+/*
+ * Acorn specific net device driver probe routine
+ *
+ * Copyright (C) 1998 Russell King
+ */
+#include <linux/config.h>
+#include <linux/netdevice.h>
+#include <linux/errno.h>
+#include <linux/init.h>
+
+extern int ether1_probe (struct device *dev);
+extern int ether3_probe (struct device *dev);
+extern int etherh_probe (struct device *dev);
+
+__initfunc(int acorn_ethif_probe(struct device *dev))
+{
+ if (1
+#ifdef CONFIG_ARM_ETHERH
+ && etherh_probe (dev)
+#endif
+#ifdef CONFIG_ARM_ETHER3
+ && ether3_probe (dev)
+#endif
+#ifdef CONFIG_ARM_ETHER1
+ && ether1_probe (dev)
+#endif
+ && 1) {
+ return 1;
+ }
+ return 0;
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov