Add some ethernet interfaces for arm32 and make this build on arm32.

This commit is contained in:
cjep 2002-04-04 15:28:23 +00:00
parent cd7f187968
commit 133478bf31
4 changed files with 34 additions and 16 deletions

View file

@ -1,11 +1,11 @@
$NetBSD: distinfo,v 1.3 2002/03/13 08:20:18 jmc Exp $
$NetBSD: distinfo,v 1.4 2002/04/04 15:28:23 cjep 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) = fb3540b6e8bff7cf6ff5d21ecc277941b4ea86d8
SHA1 (patch-ac) = 3320534dc1d5653ace794408e8aaa6e08697d3f5
SHA1 (patch-ad) = 302391b40bbfe6f218136778738572109be3ce6b
SHA1 (patch-ae) = c430e434309135189de7b3e61e4d0a1e63e50426
SHA1 (patch-af) = 5a04841e252c6c1efed40892c3b09d33543c5990
SHA1 (patch-ag) = 57cf49cd17f9be37178725bd93d8b6bbb1475236
SHA1 (patch-af) = 206fd228e6a26d4bf75e187c79b3f659ec60eb36
SHA1 (patch-ag) = b2e76291d17fc6718cfb7f414fd211355856ae2e

View file

@ -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

View file

@ -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-* \

View file

@ -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-* \