summaryrefslogtreecommitdiff
path: root/net/sniffit/patches/patch-ac
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-01-08 11:02:10 +0000
committerwiz <wiz@pkgsrc.org>2006-01-08 11:02:10 +0000
commitd3c351cc904edb1c6cd697c674d239c0a8c53558 (patch)
tree3038abe55df8469555bf1ab9ef14bfee5fa7783b /net/sniffit/patches/patch-ac
parentff93bb5233a033600857811a679867a1e109ce4c (diff)
downloadpkgsrc-d3c351cc904edb1c6cd697c674d239c0a8c53558.tar.gz
This package contains a hardwired list of device driver names(ewww).
Assume that x86_64 has the same drivers as i386, addresses PR 32332. No PKGREVISION bump since it didn't compile on amd64 before. While here: remove superfluous patches patch-af, patch-ag to config.sub files (get replaced by CONFIG_SUB_OVERRIDE anyway) split up multi-patch patch-aa into four patches patch-a[hijk]
Diffstat (limited to 'net/sniffit/patches/patch-ac')
-rw-r--r--net/sniffit/patches/patch-ac12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/sniffit/patches/patch-ac b/net/sniffit/patches/patch-ac
index 8467ee66438..a11ca035137 100644
--- a/net/sniffit/patches/patch-ac
+++ b/net/sniffit/patches/patch-ac
@@ -1,8 +1,9 @@
-$NetBSD: patch-ac,v 1.8 2002/08/25 21:50:16 jlam Exp $
+$NetBSD: patch-ac,v 1.9 2006/01/08 11:02:10 wiz Exp $
---- sn_data.h.orig Fri Apr 18 05:33:58 1997
-+++ sn_data.h Sat May 25 15:04:03 2002
-@@ -26,4 +26,38 @@
+--- sn_data.h.orig 1997-04-18 09:33:58.000000000 +0000
++++ sn_data.h
+@@ -25,6 +25,40 @@ char *ETH_DEV[]={"et"};
+ char *ETH_DEV[]={"ed"};
#endif
+#ifdef NETBSD
@@ -13,7 +14,7 @@ $NetBSD: patch-ac,v 1.8 2002/08/25 21:50:16 jlam Exp $
+#define ETH_DEV_NR 18
+/* XXX This list may not be complete; cs tested on a DNARD */
+char *ETH_DEV[]={"cs", "de", "ea", "eb", "en", "ep", "ex", "fpa", "fxp", "ie", "le", "lmc", "ne", "rtk", "sip", "tl", "tlp", "vr"};
-+#elif defined(__i386__)
++#elif defined(__i386__) || defined(__x86_64__)
+#define ETH_DEV_NR 20
+char *ETH_DEV[]={"ai","de","ec","ef","eg","el","en","ep","fe","fea","fpa","fxp","ix","iy","lc","le","ne","sm","tl","we"};
+#elif defined(__m68k__)
@@ -41,3 +42,4 @@ $NetBSD: patch-ac,v 1.8 2002/08/25 21:50:16 jlam Exp $
+
#ifdef BSDI
#define ETH_DEV_NR 1
+ char *ETH_DEV[]={"ef"};