Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/conf Introduce NO_PHYS_NETWORK as a define in...



details:   https://anonhg.NetBSD.org/src/rev/cb8c75da09df
branches:  trunk
changeset: 535952:cb8c75da09df
user:      leo <leo%NetBSD.org@localhost>
date:      Mon Sep 02 12:10:46 2002 +0000

description:
Introduce NO_PHYS_NETWORK as a define in the FALCON kernel. This define is
used to turn off the vlan, bridge and pppoe pseudo devices and the NETATALK
protocol.

diffstat:

 sys/arch/atari/conf/FALCON.in  |   6 +++++-
 sys/arch/atari/conf/GENERIC.in |  10 +++++++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (71 lines):

diff -r 6bbc7062c075 -r cb8c75da09df sys/arch/atari/conf/FALCON.in
--- a/sys/arch/atari/conf/FALCON.in     Mon Sep 02 11:09:48 2002 +0000
+++ b/sys/arch/atari/conf/FALCON.in     Mon Sep 02 12:10:46 2002 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: FALCON.in,v 1.5 2001/11/20 11:29:41 lukem Exp $
+#      $NetBSD: FALCON.in,v 1.6 2002/09/02 12:10:46 leo Exp $
 #
 # ATARI-FALCON
 #
@@ -9,6 +9,10 @@
 # BOOTX kernel respectively.
 #
 
+# There is no possibility for physical network interfaces. Use the define
+# below to turn off vlan, pppoe, bridge  and NETATALK.
+#define        NO_PHYS_NETWORK
+
 #include "GENERIC.in"
 
 pseudo-device  view    4       # View (graphics mapping)
diff -r 6bbc7062c075 -r cb8c75da09df sys/arch/atari/conf/GENERIC.in
--- a/sys/arch/atari/conf/GENERIC.in    Mon Sep 02 11:09:48 2002 +0000
+++ b/sys/arch/atari/conf/GENERIC.in    Mon Sep 02 12:10:46 2002 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: GENERIC.in,v 1.21 2002/06/17 05:14:06 lukem Exp $
+#      $NetBSD: GENERIC.in,v 1.22 2002/09/02 12:10:46 leo Exp $
 #
 # Generic atari
 #
@@ -67,8 +67,10 @@
 options        ISO,TPIP        # OSI
 #options       EON             # OSI tunneling over IP
 options        CCITT,LLC,HDLC  # X.25
+#ifndef NO_PHYS_NETWORK
 options        NETATALK        # AppleTalk networking protocols
 #endif
+#endif
 
 options        PPP_BSDCOMP     # BSD-Compress compression support for PPP
 options        PPP_DEFLATE     # Deflate compression support for PPP
@@ -195,7 +197,7 @@
 #ifndef INSTALL_KERNEL
 options        SERCONSOLE              # modem1 console support
 options        RELOC_KERNEL            # TT/Falcon: relocate kernel to TT-RAM
-#options       MSGBUFSIZE=32768        # size of kernel msg. buffer
+options        MSGBUFSIZE=32768        # size of kernel msg. buffer
 #options       STATCLOCK               # Separate {stat,prof}clock
 #endif
 
@@ -211,7 +213,7 @@
 
 pseudo-device  sl                      # Slip
 pseudo-device  ppp                     # ppp
-#ifndef FALCON_KERNEL
+#ifndef NO_PHYS_NETWORK
 pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
 #endif
 pseudo-device  pty                     # pseudo-terminals
@@ -226,8 +228,10 @@
 pseudo-device  gif             4       # IPv[46] over IPv[46] tunnel (RFC1933)
 #pseudo-device faith           1       # IPv[46] tcp relay translation i/f
 #pseudo-device stf             1       # 6to4 IPv6 over IPv4 encapsulation
+#ifndef NO_PHYS_NETWORK
 pseudo-device  vlan                    # IEEE 802.1q encapsulation
 pseudo-device  bridge                  # simple inter-network bridging
+#endif
 pseudo-device  ccd             4       # concatenating disk driver
 pseudo-device  raid            8       # RAIDframe disk driver
 options        RAID_AUTOCONFIG         # auto-configuration of RAID components



Home | Main Index | Thread Index | Old Index