Bananian Linux - Bananian Linux
View Issue Details
0000023Bananian Linux[All Projects] Kernelpublic2014-09-06 01:482015-01-02 14:25
guest 
Nico 
normalfeatureN/A
resolvedwon't fix 
 
14.08 
 
0000023: add CAN BUS driver
please add the working CAN Bus driver from:
https://github.com/btolfa/sunxi-can-driver [^]
to Bananian

Would be very cool !
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index bb709fd..d8fc089 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -102,6 +102,12 @@ config CAN_FLEXCAN
        ---help---
          Say Y here if you want to support for Freescale FlexCAN.
 
+config CAN_SUN7I
+        tristate "Sun7i CAN bus controller"
+        default n
+        help
+        This is the Sun7i CAN BUS driver for android system by peter chen.
+
 config PCH_CAN
        tristate "Intel EG20T PCH CAN controller"
        depends on CAN_DEV && PCI
diff --git a/drivers/net/can/Makefile b/drivers/net/can/Makefile
index 938be37..18d3ba0 100644
--- a/drivers/net/can/Makefile
+++ b/drivers/net/can/Makefile
@@ -22,5 +22,6 @@ obj-$(CONFIG_CAN_BFIN)                += bfin_can.o
 obj-$(CONFIG_CAN_JANZ_ICAN3)   += janz-ican3.o
 obj-$(CONFIG_CAN_FLEXCAN)      += flexcan.o
 obj-$(CONFIG_PCH_CAN)          += pch_can.o
+obj-$(CONFIG_CAN_SUN7I)                += sun7i_can.o
 
 ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
No tags attached.
Issue History
2014-09-06 01:48guestNew Issue
2015-01-02 14:25NicoNote Added: 0000126
2015-01-02 14:25NicoStatusnew => resolved
2015-01-02 14:25NicoResolutionopen => won't fix
2015-01-02 14:25NicoAssigned To => Nico

Notes
(0000126)
Nico   
2015-01-02 14:25   
We want to keep as mainline sunxi as possible. If you need the driver please compile your own kernel, sorry.