summaryrefslogtreecommitdiff
path: root/net/sniffit/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/sniffit/patches/patch-ac')
-rw-r--r--net/sniffit/patches/patch-ac13
1 files changed, 9 insertions, 4 deletions
diff --git a/net/sniffit/patches/patch-ac b/net/sniffit/patches/patch-ac
index c93310bf918..dceeae09e73 100644
--- a/net/sniffit/patches/patch-ac
+++ b/net/sniffit/patches/patch-ac
@@ -1,8 +1,9 @@
-$NetBSD: patch-ac,v 1.4 2000/10/11 01:59:08 dmcmahill Exp $
+$NetBSD: patch-ac,v 1.5 2002/03/13 08:20:19 jmc Exp $
---- sn_data.h.orig Fri Apr 18 05:33:58 1997
-+++ sn_data.h Tue Oct 10 21:56:57 2000
-@@ -26,4 +26,22 @@
+--- sn_data.h.orig Fri Apr 18 09:33:58 1997
++++ sn_data.h Wed Mar 13 08:17:30 2002
+@@ -25,6 +25,27 @@
+ char *ETH_DEV[]={"ed"};
#endif
+#ifdef NETBSD
@@ -18,6 +19,9 @@ $NetBSD: patch-ac,v 1.4 2000/10/11 01:59:08 dmcmahill Exp $
+#elif defined(mips)
+#define ETH_DEV_NR 8
+char *ETH_DEV[]={"awi","ep","mbe","le","ne","sm","tlp","wi"};
++#elif defined(__powerpc__)
++#define ETH_DEV_NR 17
++char *ETH_DEV[]={"de", "fpa", "ep", "epic", "ex", "fxp", "lmc", "ne", "rtk", "sip", "tlp", "gm", "bm", "mc", "mbe", "awi", "wi"};
+#else
+#error Unknown network devices for this NetBSD architecture.
+#endif
@@ -25,3 +29,4 @@ $NetBSD: patch-ac,v 1.4 2000/10/11 01:59:08 dmcmahill Exp $
+
#ifdef BSDI
#define ETH_DEV_NR 1
+ char *ETH_DEV[]={"ef"};