aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/c_can/Makefile
diff options
context:
space:
mode:
authorBhupesh Sharma <bhupesh.sharma@st.com>2011-02-13 22:51:44 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-13 22:51:44 -0800
commit881ff67ad45041f6ff08441aa17302aea77bd054 (patch)
tree454d4ddc86f804778f9070288b9464cf5236a5a0 /drivers/net/can/c_can/Makefile
parentjme: Advance driver version (diff)
downloadlinux-dev-881ff67ad45041f6ff08441aa17302aea77bd054.tar.xz
linux-dev-881ff67ad45041f6ff08441aa17302aea77bd054.zip
can: c_can: Added support for Bosch C_CAN controller
Bosch C_CAN controller is a full-CAN implementation which is compliant to CAN protocol version 2.0 part A and B. Bosch C_CAN user manual can be obtained from: http://www.semiconductors.bosch.de/media/en/pdf/ipmodules_1/c_can/users_manual_c_can.pdf This patch adds the support for this controller. The following are the design choices made while writing the controller driver: 1. Interface Register set IF1 has be used only in the current design. 2. Out of the 32 Message objects available, 16 are kept aside for RX purposes and the rest for TX purposes. 3. NAPI implementation is such that both the TX and RX paths function in polling mode. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/c_can/Makefile')
-rw-r--r--drivers/net/can/c_can/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/can/c_can/Makefile b/drivers/net/can/c_can/Makefile
new file mode 100644
index 000000000000..9273f6d5c4b7
--- /dev/null
+++ b/drivers/net/can/c_can/Makefile
@@ -0,0 +1,8 @@
+#
+# Makefile for the Bosch C_CAN controller drivers.
+#
+
+obj-$(CONFIG_CAN_C_CAN) += c_can.o
+obj-$(CONFIG_CAN_C_CAN_PLATFORM) += c_can_platform.o
+
+ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG