Source-Changes-HG archive

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

[src/bouyer-socketcan]: src/sys/arch/evbarm/conf Include options CAN and canl...



details:   https://anonhg.NetBSD.org/src/rev/771c87b8b7a2
branches:  bouyer-socketcan
changeset: 820885:771c87b8b7a2
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Apr 18 21:31:48 2017 +0000

description:
Include options CAN and canloop pseudo-device by default.
Add awincan0 device to CUBIEBOARD

diffstat:

 sys/arch/evbarm/conf/CUBIEBOARD     |  5 ++++-
 sys/arch/evbarm/conf/GENERIC.common |  4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 4917801ab336 -r 771c87b8b7a2 sys/arch/evbarm/conf/CUBIEBOARD
--- a/sys/arch/evbarm/conf/CUBIEBOARD   Tue Apr 18 21:30:38 2017 +0000
+++ b/sys/arch/evbarm/conf/CUBIEBOARD   Tue Apr 18 21:31:48 2017 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: CUBIEBOARD,v 1.49 2016/12/13 20:42:17 christos Exp $
+#      $NetBSD: CUBIEBOARD,v 1.49.2.1 2017/04/18 21:31:48 bouyer Exp $
 #
 #      CUBIEBOARD -- Allwinner A10/A20 Eval Board Kernel
 #
@@ -185,6 +185,9 @@
 # 10/100/1000 Ethernet (A10/A20)
 awge0          at awinio0 port ?
 
+# CAN bus
+awincan0       at awinio0 port ?
+
 include "dev/usb/usbdevices.config"
 
 midi*          at midibus?
diff -r 4917801ab336 -r 771c87b8b7a2 sys/arch/evbarm/conf/GENERIC.common
--- a/sys/arch/evbarm/conf/GENERIC.common       Tue Apr 18 21:30:38 2017 +0000
+++ b/sys/arch/evbarm/conf/GENERIC.common       Tue Apr 18 21:31:48 2017 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: GENERIC.common,v 1.14 2016/11/26 13:59:45 christos Exp $
+#      $NetBSD: GENERIC.common,v 1.14.2.1 2017/04/18 21:31:48 bouyer Exp $
 #
 #      GENERIC evbarm kernel config (template)
 #
@@ -46,6 +46,7 @@
 #options       PPP_DEFLATE     # Deflate compression support for PPP
 #options       PPP_FILTER      # Active filter support for PPP (requires bpf)
 #options       TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG
+options        CAN             # CAN bus support
 
 # JIT compiler for bpfilter
 #options       SLJIT
@@ -148,6 +149,7 @@
 # network pseudo-devices
 pseudo-device  bpfilter                # Berkeley packet filter
 pseudo-device  loop                    # network loopback
+pseudo-device  canloop                 # CAN loopback
 pseudo-device  bridge                  # simple inter-network bridging
 pseudo-device  vlan                    # IEEE 802.1q encapsulation
 pseudo-device  ppp                     # Point-to-Point Protocol



Home | Main Index | Thread Index | Old Index