patch-2.3.23 linux/drivers/acorn/net/net-probe.c
Next file: linux/drivers/acorn/scsi/Makefile
Previous file: linux/drivers/acorn/net/ether1.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.3.22/linux/drivers/acorn/net/net-probe.c
- Orig date:
Tue Aug 31 17:29:13 1999
diff -u --recursive --new-file v2.3.22/linux/drivers/acorn/net/net-probe.c linux/drivers/acorn/net/net-probe.c
@@ -1,31 +0,0 @@
-/*
- * 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 net_device *dev);
-extern int ether3_probe (struct net_device *dev);
-extern int etherh_probe (struct net_device *dev);
-
-int __init acorn_ethif_probe(struct net_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 (who was at: slshen@lbl.gov)