mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
881ff67ad4
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>
16 lines
489 B
Plaintext
16 lines
489 B
Plaintext
menuconfig CAN_C_CAN
|
|
tristate "Bosch C_CAN devices"
|
|
depends on CAN_DEV && HAS_IOMEM
|
|
|
|
if CAN_C_CAN
|
|
|
|
config CAN_C_CAN_PLATFORM
|
|
tristate "Generic Platform Bus based C_CAN driver"
|
|
---help---
|
|
This driver adds support for the C_CAN chips connected to
|
|
the "platform bus" (Linux abstraction for directly to the
|
|
processor attached devices) which can be found on various
|
|
boards from ST Microelectronics (http://www.st.com)
|
|
like the SPEAr1310 and SPEAr320 evaluation boards.
|
|
endif
|