Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Add options CAN and pseudo-device canloop to ALL ke...



details:   https://anonhg.NetBSD.org/src/rev/d059c0158caf
branches:  trunk
changeset: 824204:d059c0158caf
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat May 27 22:53:29 2017 +0000

description:
Add options CAN and pseudo-device canloop to ALL kernel configs.
Add the same commented out to i386/amd64 GENERIC and OLIMEXLIME2 (A20-based).
Also add commented out awincan0 in OLIMEXLIME2.

diffstat:

 sys/arch/amd64/conf/ALL          |  7 +++++--
 sys/arch/amd64/conf/GENERIC      |  7 +++++--
 sys/arch/evbarm/conf/OLIMEXLIME2 |  7 ++++++-
 sys/arch/i386/conf/ALL           |  7 +++++--
 sys/arch/i386/conf/GENERIC       |  7 +++++--
 5 files changed, 26 insertions(+), 9 deletions(-)

diffs (158 lines):

diff -r ee31cb9ef83b -r d059c0158caf sys/arch/amd64/conf/ALL
--- a/sys/arch/amd64/conf/ALL   Sat May 27 21:06:26 2017 +0000
+++ b/sys/arch/amd64/conf/ALL   Sat May 27 22:53:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.58 2017/05/25 05:54:29 para Exp $
+# $NetBSD: ALL,v 1.59 2017/05/27 22:53:29 bouyer Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.58 $"
+#ident         "ALL-$Revision: 1.59 $"
 
 maxusers       64              # estimated number of users
 
@@ -230,6 +230,7 @@
 options        MROUTING        # IP multicast routing
 options        PIM             # Protocol Independent Multicast
 options        NETATALK        # AppleTalk networking protocols
+options        CAN             # Controller Area Network protocol
 options        DCCP            # Datagram Congestion Control Protocol
 options        PPP_BSDCOMP     # BSD-Compress compression support for PPP
 options        PPP_DEFLATE     # Deflate compression support for PPP
@@ -1631,6 +1632,8 @@
 # srt is EXPERIMENTAL
 pseudo-device  srt                     # source-address-based routing
 
+pseudo-device  canloop                 # CAN loopback interface
+
 #
 # accept filters, built as module(7)s by default
 pseudo-device  accf_data               # "dataready" accept filter
diff -r ee31cb9ef83b -r d059c0158caf sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Sat May 27 21:06:26 2017 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Sat May 27 22:53:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.458 2017/05/25 05:54:29 para Exp $
+# $NetBSD: GENERIC,v 1.459 2017/05/27 22:53:29 bouyer Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.458 $"
+#ident         "GENERIC-$Revision: 1.459 $"
 
 maxusers       64              # estimated number of users
 
@@ -196,6 +196,7 @@
 #options       MROUTING        # IP multicast routing
 #options       PIM             # Protocol Independent Multicast
 options        NETATALK        # AppleTalk networking protocols
+#options       CAN             # Controller Area Network protocol
 options        PPP_BSDCOMP     # BSD-Compress compression support for PPP
 options        PPP_DEFLATE     # Deflate compression support for PPP
 options        PPP_FILTER      # Active filter support for PPP (requires bpf)
@@ -1283,6 +1284,8 @@
 #pseudo-device pfsync                  # PF sync if
 #pseudo-device npf                     # NPF packet filter
 
+#pseudo-device canloop                 # CAN loopback interface
+
 #
 # accept filters
 pseudo-device  accf_data               # "dataready" accept filter
diff -r ee31cb9ef83b -r d059c0158caf sys/arch/evbarm/conf/OLIMEXLIME2
--- a/sys/arch/evbarm/conf/OLIMEXLIME2  Sat May 27 21:06:26 2017 +0000
+++ b/sys/arch/evbarm/conf/OLIMEXLIME2  Sat May 27 22:53:29 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: OLIMEXLIME2,v 1.1 2015/06/03 10:01:56 jmcneill Exp $
+#      $NetBSD: OLIMEXLIME2,v 1.2 2017/05/27 22:53:29 bouyer Exp $
 #
 #      OLIMEXLIME2 - Olimex A20-OLinuXino-LIME2
 #
@@ -11,3 +11,8 @@
 no options     ALLWINNER_A10
 no makeoptions CPUFLAGS
 makeoptions    CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon"
+
+# CAN bus support
+#options       CAN             # Controller Area Network protocol
+#pseudo-device canloop         # CAN loopback interface
+#awincan0      at awinio0 port ? flags 1
diff -r ee31cb9ef83b -r d059c0158caf sys/arch/i386/conf/ALL
--- a/sys/arch/i386/conf/ALL    Sat May 27 21:06:26 2017 +0000
+++ b/sys/arch/i386/conf/ALL    Sat May 27 22:53:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.418 2017/05/24 20:23:04 christos Exp $
+# $NetBSD: ALL,v 1.419 2017/05/27 22:53:29 bouyer Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.418 $"
+#ident         "ALL-$Revision: 1.419 $"
 
 maxusers       64              # estimated number of users
 
@@ -225,6 +225,7 @@
 options        MROUTING        # IP multicast routing
 options        PIM             # Protocol Independent Multicast
 options        NETATALK        # AppleTalk networking protocols
+options        CAN             # Controller Area Network protocol
 options        DCCP            # Datagram Congestion Control Protocol
 options        PPP_BSDCOMP     # BSD-Compress compression support for PPP
 options        PPP_DEFLATE     # Deflate compression support for PPP
@@ -1774,6 +1775,8 @@
 # srt is EXPERIMENTAL
 pseudo-device  srt                     # source-address-based routing
 
+pseudo-device  canloop                 # CAN loopback interface
+
 #
 # accept filters, built as module(7)s by default
 pseudo-device  accf_data               # "dataready" accept filter
diff -r ee31cb9ef83b -r d059c0158caf sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Sat May 27 21:06:26 2017 +0000
+++ b/sys/arch/i386/conf/GENERIC        Sat May 27 22:53:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1155 2017/05/24 20:23:04 christos Exp $
+# $NetBSD: GENERIC,v 1.1156 2017/05/27 22:53:29 bouyer Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.1155 $"
+#ident         "GENERIC-$Revision: 1.1156 $"
 
 maxusers       64              # estimated number of users
 
@@ -207,6 +207,7 @@
 #options       MROUTING        # IP multicast routing
 #options       PIM             # Protocol Independent Multicast
 options        NETATALK        # AppleTalk networking protocols
+#options       CAN             # Controller Area Network protocol
 #options       PPP_BSDCOMP     # BSD-Compress compression support for PPP
 #options       PPP_DEFLATE     # Deflate compression support for PPP
 options        PPP_FILTER      # Active filter support for PPP (requires bpf)
@@ -1680,6 +1681,8 @@
 # srt is EXPERIMENTAL
 #pseudo-device srt                     # source-address-based routing
 
+#pseudo-device canloop                 # CAN loopback interface
+
 #
 # accept filters
 pseudo-device  accf_data               # "dataready" accept filter



Home | Main Index | Thread Index | Old Index