diff options
author | cjep <cjep> | 2002-04-04 15:28:23 +0000 |
---|---|---|
committer | cjep <cjep> | 2002-04-04 15:28:23 +0000 |
commit | 76f282a7b32d44ff008e767981ad9d33feef4452 (patch) | |
tree | 2417085eb8d1407d1db2d2e18a87b95803c180f8 /net/sniffit/patches | |
parent | 8d803bcae906682f64f9c3101220cfe9b8fc3bd2 (diff) | |
download | pkgsrc-76f282a7b32d44ff008e767981ad9d33feef4452.tar.gz |
Add some ethernet interfaces for arm32 and make this build on arm32.
Diffstat (limited to 'net/sniffit/patches')
-rw-r--r-- | net/sniffit/patches/patch-ac | 12 | ||||
-rw-r--r-- | net/sniffit/patches/patch-af | 15 | ||||
-rw-r--r-- | net/sniffit/patches/patch-ag | 15 |
3 files changed, 30 insertions, 12 deletions
diff --git a/net/sniffit/patches/patch-ac b/net/sniffit/patches/patch-ac index dceeae09e73..a4710e3f4b3 100644 --- a/net/sniffit/patches/patch-ac +++ b/net/sniffit/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.5 2002/03/13 08:20:19 jmc Exp $ +$NetBSD: patch-ac,v 1.6 2002/04/04 15:28:24 cjep Exp $ ---- 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 @@ +--- 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"}; #endif @@ -22,6 +22,10 @@ $NetBSD: patch-ac,v 1.5 2002/03/13 08:20:19 jmc Exp $ +#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"}; +#else +#error Unknown network devices for this NetBSD architecture. +#endif diff --git a/net/sniffit/patches/patch-af b/net/sniffit/patches/patch-af index 41cf7ba7890..25efd6f0057 100644 --- a/net/sniffit/patches/patch-af +++ b/net/sniffit/patches/patch-af @@ -1,8 +1,15 @@ -$NetBSD: patch-af,v 1.1 2002/03/13 08:20:19 jmc Exp $ +$NetBSD: patch-af,v 1.2 2002/04/04 15:28:24 cjep Exp $ ---- config.sub.orig Wed Mar 13 08:08:36 2002 -+++ config.sub Wed Mar 13 08:08:58 2002 -@@ -177,7 +177,7 @@ +--- config.sub.orig Fri Apr 18 10:33:57 1997 ++++ config.sub Thu Apr 4 15:28:15 2002 +@@ -171,13 +171,13 @@ + ;; + # Recognize the basic CPU types with company name. + vax-* | tahoe-* | i[3456]86-* | i860-* | m68k-* | m68000-* | m88k-* \ +- | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ ++ | sparc-* | ns32k-* | fx80-* | arm-* | arm32-* | c[123]* \ + | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \ + | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ | hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \ diff --git a/net/sniffit/patches/patch-ag b/net/sniffit/patches/patch-ag index e4bb8ffc545..a10a6566a3e 100644 --- a/net/sniffit/patches/patch-ag +++ b/net/sniffit/patches/patch-ag @@ -1,8 +1,15 @@ -$NetBSD: patch-ag,v 1.1 2002/03/13 08:20:19 jmc Exp $ +$NetBSD: patch-ag,v 1.2 2002/04/04 15:28:24 cjep Exp $ ---- libpcap-0.3/config.sub.orig Wed Mar 13 08:09:22 2002 -+++ libpcap-0.3/config.sub Wed Mar 13 08:09:34 2002 -@@ -177,7 +177,7 @@ +--- libpcap-0.3/config.sub.orig Fri Apr 18 10:33:57 1997 ++++ libpcap-0.3/config.sub Thu Apr 4 15:29:50 2002 +@@ -171,13 +171,13 @@ + ;; + # Recognize the basic CPU types with company name. + vax-* | tahoe-* | i[3456]86-* | i860-* | m68k-* | m68000-* | m88k-* \ +- | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \ ++ | sparc-* | ns32k-* | fx80-* | arm-* | arm32-* | c[123]* \ + | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \ + | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \ | hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \ | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \ | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \ |