diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2002-05-25 20:51:26 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2002-05-25 20:51:26 +0000 |
commit | b6f56a6c1cc6b7238c82923d398cd3f6d6967833 (patch) | |
tree | da588de19b61bd4adcf09c61fcb38734cead9fea | |
parent | 1250b912073c13e6c993ac3eea7f65eb809716d8 (diff) | |
download | pkgsrc-b6f56a6c1cc6b7238c82923d398cd3f6d6967833.tar.gz |
look for __sparc__ instead of sparc. Builds and works on sparc now.
While here add list of network interfaces for alpha, dreamcast and vax.
-rw-r--r-- | net/sniffit/distinfo | 4 | ||||
-rw-r--r-- | net/sniffit/patches/patch-ac | 39 |
2 files changed, 25 insertions, 18 deletions
diff --git a/net/sniffit/distinfo b/net/sniffit/distinfo index d6372c73030..dd27c67e7ad 100644 --- a/net/sniffit/distinfo +++ b/net/sniffit/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.4 2002/04/04 15:28:23 cjep Exp $ +$NetBSD: distinfo,v 1.5 2002/05/25 20:51:26 dmcmahill Exp $ SHA1 (sniffit.0.3.5.tar.gz) = df9183fca2eec29a56bcfdc68a983c4e7d57bf9d Size (sniffit.0.3.5.tar.gz) = 197255 bytes SHA1 (patch-aa) = 843011bc1b0679485e4df9fec2d2443ba1ef73e0 SHA1 (patch-ab) = d9fcd1c88c53c1d41cfda040bbcc012ee05e1d44 -SHA1 (patch-ac) = 3320534dc1d5653ace794408e8aaa6e08697d3f5 +SHA1 (patch-ac) = 8beaedcd40d955095eb30d808f9d38a549aa4db5 SHA1 (patch-ad) = 302391b40bbfe6f218136778738572109be3ce6b SHA1 (patch-ae) = c430e434309135189de7b3e61e4d0a1e63e50426 SHA1 (patch-af) = 206fd228e6a26d4bf75e187c79b3f659ec60eb36 diff --git a/net/sniffit/patches/patch-ac b/net/sniffit/patches/patch-ac index a4710e3f4b3..289948e2a60 100644 --- a/net/sniffit/patches/patch-ac +++ b/net/sniffit/patches/patch-ac @@ -1,31 +1,39 @@ -$NetBSD: patch-ac,v 1.6 2002/04/04 15:28:24 cjep Exp $ +$NetBSD: patch-ac,v 1.7 2002/05/25 20:51:27 dmcmahill Exp $ ---- sn_data.h.orig Fri Apr 18 10:33:58 1997 -+++ sn_data.h Thu Apr 4 16:20:36 2002 -@@ -25,6 +25,31 @@ - char *ETH_DEV[]={"ed"}; +--- 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 @@ #endif +#ifdef NETBSD -+#ifdef i386 ++#ifdef __alpha__ ++#define ETH_DEV_NR 13 ++char *ETH_DEV[]={"de","en","ep","fea","fpa","fxp","lc","le","ne","sm","tl","tlp","we"}; ++#elif defined(__arm__) ++#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__) +#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(sparc) -+#define ETH_DEV_NR 2 -+char *ETH_DEV[]={"le","ie"}; -+#elif defined(m68k) ++#elif defined(__m68k__) +#define ETH_DEV_NR 9 +char *ETH_DEV[]={"ae","bah","ed","es","le","mc","qn","sm","sn"}; -+#elif defined(mips) ++#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"}; -+#elif defined(__arm__) -+#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(__sh3__) ++#define ETH_DEV_NR 4 ++char *ETH_DEV[]={"ep","mbe","ne","sm"}; ++#elif defined(__sparc__) ++#define ETH_DEV_NR 9 ++char *ETH_DEV[]={"be","ep","hme","ie","le","mbe","ne","qe","sm"}; ++#elif defined(__vax__) ++#define ETH_DEV_NR 3 ++char *ETH_DEV[]={"le","ni","ze"}; +#else +#error Unknown network devices for this NetBSD architecture. +#endif @@ -33,4 +41,3 @@ $NetBSD: patch-ac,v 1.6 2002/04/04 15:28:24 cjep Exp $ + #ifdef BSDI #define ETH_DEV_NR 1 - char *ETH_DEV[]={"ef"}; |