Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Add tap(4) support to a random^Wcarefully chosen se...



details:   https://anonhg.NetBSD.org/src/rev/39cda9f215f8
branches:  trunk
changeset: 573018:39cda9f215f8
user:      cube <cube%NetBSD.org@localhost>
date:      Mon Jan 17 15:28:51 2005 +0000

description:
Add tap(4) support to a random^Wcarefully chosen set of kernel configs.
All those kernels have a line for both tun and bridge, and if either is
commented out, tap is commented out also.  With the exception of i386's
GENERIC_TINY.

XXX:  we _need_ some way of making this more simple.

diffstat:

 sys/arch/acorn32/conf/EB7500ATX      |  5 +++--
 sys/arch/acorn32/conf/GENERIC        |  5 +++--
 sys/arch/acorn32/conf/INSTALL        |  5 +++--
 sys/arch/acorn32/conf/RPC_WSCONS     |  5 +++--
 sys/arch/alpha/conf/ALPHA            |  5 +++--
 sys/arch/amd64/conf/GENERIC          |  5 +++--
 sys/arch/amd64/conf/INSTALL          |  5 +++--
 sys/arch/amd64/conf/INSTALL_ACPI     |  5 +++--
 sys/arch/amiga/conf/AMIGA            |  5 +++--
 sys/arch/amiga/conf/DRACO            |  5 +++--
 sys/arch/amiga/conf/GENERIC          |  5 +++--
 sys/arch/amiga/conf/GENERIC.in       |  5 +++--
 sys/arch/amiga/conf/INSTALL          |  5 +++--
 sys/arch/amiga/conf/WSCONS           |  5 +++--
 sys/arch/arc/conf/GENERIC            |  5 +++--
 sys/arch/arc/conf/RAMDISK            |  5 +++--
 sys/arch/arc/conf/RPC44              |  5 +++--
 sys/arch/atari/conf/ATARITT          |  3 ++-
 sys/arch/atari/conf/GENERIC.in       |  3 ++-
 sys/arch/atari/conf/HADES            |  3 ++-
 sys/arch/atari/conf/MILAN-ISAIDE     |  3 ++-
 sys/arch/atari/conf/MILAN-PCIIDE     |  3 ++-
 sys/arch/cats/conf/GENERIC           |  3 ++-
 sys/arch/cobalt/conf/GENERIC         |  5 +++--
 sys/arch/dreamcast/conf/GENERIC      |  3 ++-
 sys/arch/evbarm/conf/SMDK2410        |  3 ++-
 sys/arch/evbmips/conf/PB1000         |  5 +++--
 sys/arch/evbppc/conf/EXPLORA451      |  3 ++-
 sys/arch/hp300/conf/GENERIC          |  5 +++--
 sys/arch/hp700/conf/GENERIC          |  5 +++--
 sys/arch/i386/conf/GENERIC           |  5 +++--
 sys/arch/i386/conf/GENERIC.MPACPI    |  5 +++--
 sys/arch/i386/conf/GENERIC_LAPTOP    |  5 +++--
 sys/arch/i386/conf/GENERIC_TINY      |  3 ++-
 sys/arch/i386/conf/LAMB              |  3 ++-
 sys/arch/i386/conf/NET4501           |  5 +++--
 sys/arch/i386/conf/VIRTUALPC         |  5 +++--
 sys/arch/luna68k/conf/GENERIC        |  5 +++--
 sys/arch/mac68k/conf/GENERIC         |  5 +++--
 sys/arch/mac68k/conf/GENERICSBC      |  5 +++--
 sys/arch/mac68k/conf/SMALLRAM        |  5 +++--
 sys/arch/macppc/conf/GENERIC         |  5 +++--
 sys/arch/mipsco/conf/GENERIC         |  3 ++-
 sys/arch/mmeye/conf/GENERIC          |  5 +++--
 sys/arch/mvmeppc/conf/MVME1600       |  5 +++--
 sys/arch/news68k/conf/GENERIC        |  5 +++--
 sys/arch/news68k/conf/GENERIC_TINY   |  5 +++--
 sys/arch/newsmips/conf/GENERIC       |  5 +++--
 sys/arch/next68k/conf/GENERIC        |  5 +++--
 sys/arch/ofppc/conf/BRIQ             |  5 +++--
 sys/arch/ofppc/conf/GENERIC          |  5 +++--
 sys/arch/pc532/conf/GENERIC          |  5 +++--
 sys/arch/pdp10/conf/GENERIC          |  5 +++--
 sys/arch/prep/conf/GENERIC           |  5 +++--
 sys/arch/sbmips/conf/GENERIC         |  5 +++--
 sys/arch/sgimips/conf/GENERIC32_IP2x |  5 +++--
 sys/arch/sgimips/conf/GENERIC32_IP3x |  5 +++--
 sys/arch/sparc/conf/GENERIC          |  5 +++--
 sys/arch/sparc64/conf/GENERIC32      |  5 +++--
 sys/arch/sparc64/conf/SPLODE         |  5 +++--
 sys/arch/sun2/conf/GENERIC           |  5 +++--
 sys/arch/sun2/conf/VME               |  5 +++--
 sys/arch/sun3/conf/GENERIC           |  5 +++--
 sys/arch/sun3/conf/GENERIC3X         |  3 ++-
 sys/arch/vax/conf/GENERIC            |  5 +++--
 sys/arch/x68k/conf/GENERIC           |  5 +++--
 sys/arch/x68k/conf/INSTALL           |  5 +++--
 sys/arch/xen/conf/GENERIC            |  5 +++--
 sys/arch/xen/conf/XEN                |  3 ++-
 69 files changed, 193 insertions(+), 124 deletions(-)

diffs (truncated from 1667 to 300 lines):

diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/acorn32/conf/EB7500ATX
--- a/sys/arch/acorn32/conf/EB7500ATX   Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/acorn32/conf/EB7500ATX   Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: EB7500ATX,v 1.9 2004/12/08 13:28:27 reinoud Exp $
+#      $NetBSD: EB7500ATX,v 1.10 2005/01/17 15:28:51 cube Exp $
 #
 #      EB7500ATX --- NetBSD/acorn32 complete configuration
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "EB7500ATX-$Revision: 1.9 $"
+#ident         "EB7500ATX-$Revision: 1.10 $"
 
 # estimated number of users
 maxusers       32
@@ -268,6 +268,7 @@
 pseudo-device  ppp     2               # PPP
 pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
 pseudo-device  tun     2               # network tunneling over tty
+pseudo-device  tap                     # virtual Ethernet
 #pseudo-device gre     2               # generic L3 over IP tunnel
 #pseudo-device ipfilter 1              # ip filter
 pseudo-device  gif     4               # IPv[46] over IPv[46] tunnel (RFC1933)
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/acorn32/conf/GENERIC
--- a/sys/arch/acorn32/conf/GENERIC     Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/acorn32/conf/GENERIC     Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.46 2004/12/08 13:28:27 reinoud Exp $
+#      $NetBSD: GENERIC,v 1.47 2005/01/17 15:28:51 cube Exp $
 #
 #      GENERIC --- NetBSD/acorn32 complete configuration
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.46 $"
+#ident         "GENERIC-$Revision: 1.47 $"
 
 # estimated number of users
 maxusers       32
@@ -334,6 +334,7 @@
 pseudo-device  ppp     2               # PPP
 pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
 pseudo-device  tun     2               # network tunneling over tty
+pseudo-device  tap                     # virtual Ethernet
 #pseudo-device gre     2               # generic L3 over IP tunnel
 #pseudo-device ipfilter 1              # ip filter
 pseudo-device  gif     4               # IPv[46] over IPv[46] tunnel (RFC1933)
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/acorn32/conf/INSTALL
--- a/sys/arch/acorn32/conf/INSTALL     Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/acorn32/conf/INSTALL     Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: INSTALL,v 1.27 2004/12/08 13:28:27 reinoud Exp $
+#      $NetBSD: INSTALL,v 1.28 2005/01/17 15:28:51 cube Exp $
 #
 #      INSTALL -- NetBSD/acorn32 install configuration
 #
@@ -22,7 +22,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "INSTALL-$Revision: 1.27 $"
+#ident         "INSTALL-$Revision: 1.28 $"
 
 # estimated number of users
 maxusers       32
@@ -322,6 +322,7 @@
 #pseudo-device ppp     2               # PPP
 #pseudo-device pppoe                   # PPP over Ethernet (RFC 2516)
 #pseudo-device tun     2               # network tunneling over tty
+#pseudo-device tap                     # virtual Ethernet
 #pseudo-device gre     2               # generic L3 over IP tunnel
 #pseudo-device ipfilter 1              # ip filter
 #pseudo-device gif     4               # IPv[46] over IPv[46] tunnel (RFC1933)
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/acorn32/conf/RPC_WSCONS
--- a/sys/arch/acorn32/conf/RPC_WSCONS  Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/acorn32/conf/RPC_WSCONS  Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: RPC_WSCONS,v 1.32 2004/12/08 13:28:27 reinoud Exp $
+#      $NetBSD: RPC_WSCONS,v 1.33 2005/01/17 15:28:51 cube Exp $
 #
 #      RPC_WSCONS -- Full RiscPC config with wscons
 #
@@ -22,7 +22,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.32 $"
+#ident         "GENERIC-$Revision: 1.33 $"
 
 # estimated number of users
 maxusers       32
@@ -314,6 +314,7 @@
 pseudo-device  ppp     2               # PPP
 pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
 pseudo-device  tun     2               # network tunneling over tty
+pseudo-device  tap                     # virtual Ethernet
 #pseudo-device gre     2               # generic L3 over IP tunnel
 #pseudo-device ipfilter 1              # ip filter
 pseudo-device  gif     4               # IPv[46] over IPv[46] tunnel (RFC1933)
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/alpha/conf/ALPHA
--- a/sys/arch/alpha/conf/ALPHA Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/alpha/conf/ALPHA Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALPHA,v 1.197 2004/11/24 20:49:19 bouyer Exp $
+# $NetBSD: ALPHA,v 1.198 2005/01/17 15:28:51 cube Exp $
 #
 # Alpha kernel with all the options you'd want, and more.
 
@@ -6,7 +6,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-ident          "ALPHA-$Revision: 1.197 $"
+ident          "ALPHA-$Revision: 1.198 $"
 
 maxusers 32
 
@@ -587,6 +587,7 @@
 pseudo-device  sl              4
 pseudo-device  strip           4
 pseudo-device  tun             4
+pseudo-device  tap                     # virtual Ethernet
 pseudo-device  vnd             4
 #pseudo-device gre             2       # generic L3 over IP tunnel
 pseudo-device  gif             4       # IPv[46] over IPv[46] tunnel (RFC1933)
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.34 2004/12/02 14:33:31 xtraeme Exp $
+# $NetBSD: GENERIC,v 1.35 2005/01/17 15:28:51 cube Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.34 $"
+#ident                 "GENERIC-$Revision: 1.35 $"
 
 maxusers       32              # estimated number of users
 
@@ -794,6 +794,7 @@
 pseudo-device  strip           2       # Starmode Radio IP (Metricom)
 pseudo-device  irframetty              # IrDA frame line discipline
 pseudo-device  tun             2       # network tunneling over tty
+pseudo-device  tap                     # virtual Ethernet
 pseudo-device  gre             2       # generic L3 over IP tunnel
 pseudo-device  gif             4       # IPv[46] over IPv[46] tunnel (RFC1933)
 #pseudo-device faith           1       # IPv[46] tcp relay translation i/f
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/amd64/conf/INSTALL
--- a/sys/arch/amd64/conf/INSTALL       Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/amd64/conf/INSTALL       Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.21 2004/11/24 20:49:20 bouyer Exp $
+# $NetBSD: INSTALL,v 1.22 2005/01/17 15:28:51 cube Exp $
 #
 # GENERIC machine description file
 # 
@@ -20,7 +20,7 @@
 
 include        "arch/amd64/conf/std.amd64"
 
-#ident                 "INSTALL-$Revision: 1.21 $"
+#ident                 "INSTALL-$Revision: 1.22 $"
 
 maxusers       32              # estimated number of users
 
@@ -619,6 +619,7 @@
 #pseudo-device strip           2       # Starmode Radio IP (Metricom)
 #pseudo-device irframetty              # IrDA frame line discipline
 #pseudo-device tun             2       # network tunneling over tty
+#pseudo-device tap                     # virtual Ethernet
 #pseudo-device gre             2       # generic L3 over IP tunnel
 #pseudo-device gif             4       # IPv[46] over IPv[46] tunnel (RFC1933)
 #pseudo-device faith           1       # IPv[46] tcp relay translation i/f
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/amd64/conf/INSTALL_ACPI
--- a/sys/arch/amd64/conf/INSTALL_ACPI  Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/amd64/conf/INSTALL_ACPI  Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL_ACPI,v 1.13 2004/11/24 20:49:20 bouyer Exp $
+# $NetBSD: INSTALL_ACPI,v 1.14 2005/01/17 15:28:51 cube Exp $
 #
 # GENERIC machine description file
 # 
@@ -20,7 +20,7 @@
 
 include        "arch/amd64/conf/std.amd64"
 
-#ident                 "INSTALL-$Revision: 1.13 $"
+#ident                 "INSTALL-$Revision: 1.14 $"
 
 maxusers       32              # estimated number of users
 
@@ -612,6 +612,7 @@
 #pseudo-device strip           2       # Starmode Radio IP (Metricom)
 #pseudo-device irframetty              # IrDA frame line discipline
 #pseudo-device tun             2       # network tunneling over tty
+#pseudo-device tap                     # virtual Ethernet
 #pseudo-device gre             2       # generic L3 over IP tunnel
 #pseudo-device gif             4       # IPv[46] over IPv[46] tunnel (RFC1933)
 #pseudo-device faith           1       # IPv[46] tcp relay translation i/f
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/amiga/conf/AMIGA
--- a/sys/arch/amiga/conf/AMIGA Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/amiga/conf/AMIGA Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: AMIGA,v 1.71 2005/01/13 16:12:35 is Exp $
+# $NetBSD: AMIGA,v 1.72 2005/01/17 15:28:51 cube Exp $
 #
 # This file was automatically created.
 # Changes will be lost when make is run in this directory.
@@ -28,7 +28,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.71 $"
+#ident                 "GENERIC-$Revision: 1.72 $"
 
 
 maxusers       8
@@ -450,6 +450,7 @@
 pseudo-device  ppp             1       # PPP network interfaces
 pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
 pseudo-device  tun             1       # network tunnel line discipline
+pseudo-device  tap                     # virtual Ethernet
 #pseudo-device gre             2       # generic L3 over IP tunnel
 pseudo-device  bpfilter        16      # Berkeley packet filter
 pseudo-device  ipfilter                # IP Filter package
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/amiga/conf/DRACO
--- a/sys/arch/amiga/conf/DRACO Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/amiga/conf/DRACO Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: DRACO,v 1.87 2005/01/13 16:12:35 is Exp $
+# $NetBSD: DRACO,v 1.88 2005/01/17 15:28:51 cube Exp $
 #
 # This file was automatically created.
 # Changes will be lost when make is run in this directory.
@@ -28,7 +28,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.87 $"
+#ident                 "GENERIC-$Revision: 1.88 $"
 
 
 maxusers       8
@@ -321,6 +321,7 @@
 pseudo-device  ppp             1       # PPP network interfaces
 pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
 pseudo-device  tun             1       # network tunnel line discipline
+pseudo-device  tap                     # virtual Ethernet
 #pseudo-device gre             2       # generic L3 over IP tunnel
 pseudo-device  bpfilter        16      # Berkeley packet filter
 pseudo-device  ipfilter                # IP Filter package
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/amiga/conf/GENERIC
--- a/sys/arch/amiga/conf/GENERIC       Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/amiga/conf/GENERIC       Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.207 2005/01/13 16:12:35 is Exp $
+# $NetBSD: GENERIC,v 1.208 2005/01/17 15:28:51 cube Exp $
 #
 # This file was automatically created.
 # Changes will be lost when make is run in this directory.
@@ -28,7 +28,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.207 $"
+#ident                 "GENERIC-$Revision: 1.208 $"
 
 
 maxusers       8
@@ -458,6 +458,7 @@
 pseudo-device  ppp             1       # PPP network interfaces
 pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
 pseudo-device  tun             1       # network tunnel line discipline
+pseudo-device  tap                     # virtual Ethernet
 #pseudo-device gre             2       # generic L3 over IP tunnel
 pseudo-device  bpfilter        16      # Berkeley packet filter
 pseudo-device  ipfilter                # IP Filter package
diff -r 1332023b01ac -r 39cda9f215f8 sys/arch/amiga/conf/GENERIC.in
--- a/sys/arch/amiga/conf/GENERIC.in    Mon Jan 17 15:20:35 2005 +0000
+++ b/sys/arch/amiga/conf/GENERIC.in    Mon Jan 17 15:28:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC.in,v 1.27 2005/01/13 16:11:38 is Exp $
+# $NetBSD: GENERIC.in,v 1.28 2005/01/17 15:28:51 cube Exp $
 #
 # GENERIC machine description file
 #
@@ -56,7 +56,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.27 $"



Home | Main Index | Thread Index | Old Index