2007-11-17 06:56:08 +07:00
|
|
|
menu "CAN Device Drivers"
|
|
|
|
|
|
|
|
config CAN_VCAN
|
|
|
|
tristate "Virtual Local CAN Interface (vcan)"
|
|
|
|
---help---
|
|
|
|
Similar to the network loopback devices, vcan offers a
|
|
|
|
virtual local CAN interface.
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called vcan.
|
|
|
|
|
2017-04-25 13:19:44 +07:00
|
|
|
config CAN_VXCAN
|
|
|
|
tristate "Virtual CAN Tunnel (vxcan)"
|
|
|
|
---help---
|
|
|
|
Similar to the virtual ethernet driver veth, vxcan implements a
|
|
|
|
local CAN traffic tunnel between two virtual CAN network devices.
|
|
|
|
When creating a vxcan, two vxcan devices are created as pair.
|
|
|
|
When one end receives the packet it appears on its pair and vice
|
|
|
|
versa. The vxcan can be used for cross namespace communication.
|
|
|
|
|
|
|
|
In opposite to vcan loopback devices the vxcan only forwards CAN
|
|
|
|
frames to its pair and does *not* provide a local echo of sent
|
|
|
|
CAN frames. To disable a potential echo in af_can.c the vxcan driver
|
|
|
|
announces IFF_ECHO in the interface flags. To have a clean start
|
|
|
|
in each namespace the CAN GW hop counter is set to zero.
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called vxcan.
|
|
|
|
|
2010-12-02 17:57:59 +07:00
|
|
|
config CAN_SLCAN
|
|
|
|
tristate "Serial / USB serial CAN Adaptors (slcan)"
|
2013-02-22 04:41:04 +07:00
|
|
|
depends on TTY
|
2010-12-02 17:57:59 +07:00
|
|
|
---help---
|
|
|
|
CAN driver for several 'low cost' CAN interfaces that are attached
|
|
|
|
via serial lines or via USB-to-serial adapters using the LAWICEL
|
|
|
|
ASCII protocol. The driver implements the tty linediscipline N_SLCAN.
|
|
|
|
|
|
|
|
As only the sending and receiving of CAN frames is implemented, this
|
|
|
|
driver should work with the (serial/USB) CAN hardware from:
|
2011-01-30 16:09:37 +07:00
|
|
|
www.canusb.com / www.can232.com / www.mictronics.de / www.canhack.de
|
2010-12-02 17:57:59 +07:00
|
|
|
|
|
|
|
Userspace tools to attach the SLCAN line discipline (slcan_attach,
|
|
|
|
slcand) can be found in the can-utils at the SocketCAN SVN, see
|
|
|
|
http://developer.berlios.de/projects/socketcan for details.
|
|
|
|
|
|
|
|
The slcan driver supports up to 10 CAN netdevices by default which
|
|
|
|
can be changed by the 'maxdev=xx' module option. This driver can
|
|
|
|
also be built as a module. If so, the module will be called slcan.
|
|
|
|
|
2009-05-16 06:39:29 +07:00
|
|
|
config CAN_DEV
|
|
|
|
tristate "Platform CAN drivers with Netlink support"
|
2011-06-27 04:39:51 +07:00
|
|
|
default y
|
2009-05-16 06:39:29 +07:00
|
|
|
---help---
|
|
|
|
Enables the common framework for platform CAN drivers with Netlink
|
|
|
|
support. This is the standard library for CAN drivers.
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2012-07-21 02:04:13 +07:00
|
|
|
if CAN_DEV
|
|
|
|
|
2009-05-16 06:39:29 +07:00
|
|
|
config CAN_CALC_BITTIMING
|
|
|
|
bool "CAN bit-timing calculation"
|
2011-06-27 04:39:51 +07:00
|
|
|
default y
|
2009-05-16 06:39:29 +07:00
|
|
|
---help---
|
|
|
|
If enabled, CAN bit-timing parameters will be calculated for the
|
|
|
|
bit-rate specified via Netlink argument "bitrate" when the device
|
|
|
|
get started. This works fine for the most common CAN controllers
|
|
|
|
with standard bit-rates but may fail for exotic bit-rates or CAN
|
|
|
|
source clock frequencies. Disabling saves some space, but then the
|
|
|
|
bit-timing parameters must be specified directly using the Netlink
|
|
|
|
arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2012-12-19 00:50:55 +07:00
|
|
|
config CAN_LEDS
|
|
|
|
bool "Enable LED triggers for Netlink based drivers"
|
|
|
|
depends on LEDS_CLASS
|
2018-06-27 16:20:52 +07:00
|
|
|
# The netdev trigger (LEDS_TRIGGER_NETDEV) should be able to do
|
|
|
|
# everything that this driver is doing. This is marked as broken
|
|
|
|
# because it uses stuff that is intended to be changed or removed.
|
|
|
|
# Please consider switching to the netdev trigger and confirm it
|
|
|
|
# fulfills your needs instead of fixing this driver.
|
|
|
|
depends on BROKEN
|
2012-12-19 00:50:55 +07:00
|
|
|
select LEDS_TRIGGERS
|
|
|
|
---help---
|
|
|
|
This option adds two LED triggers for packet receive and transmit
|
|
|
|
events on each supported CAN device.
|
|
|
|
|
|
|
|
Say Y here if you are working on a system with led-class supported
|
|
|
|
LEDs and you want to use them as canbus activity indicators.
|
|
|
|
|
2009-09-23 04:46:57 +07:00
|
|
|
config CAN_AT91
|
|
|
|
tristate "Atmel AT91 onchip CAN controller"
|
2014-10-02 21:01:42 +07:00
|
|
|
depends on (ARCH_AT91 || COMPILE_TEST) && HAS_IOMEM
|
2009-09-23 04:46:57 +07:00
|
|
|
---help---
|
2011-04-26 20:05:59 +07:00
|
|
|
This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
|
|
|
|
and AT91SAM9X5 processors.
|
2009-09-23 04:46:57 +07:00
|
|
|
|
2009-07-29 15:20:10 +07:00
|
|
|
config CAN_FLEXCAN
|
|
|
|
tristate "Support for Freescale FLEXCAN based chips"
|
2014-01-14 17:44:09 +07:00
|
|
|
depends on ARM || PPC
|
2009-07-29 15:20:10 +07:00
|
|
|
---help---
|
|
|
|
Say Y here if you want to support for Freescale FlexCAN.
|
|
|
|
|
2012-11-15 14:47:14 +07:00
|
|
|
config CAN_GRCAN
|
|
|
|
tristate "Aeroflex Gaisler GRCAN and GRHCAN CAN devices"
|
2015-04-24 01:04:51 +07:00
|
|
|
depends on OF && HAS_DMA
|
2012-11-15 14:47:14 +07:00
|
|
|
---help---
|
|
|
|
Say Y here if you want to use Aeroflex Gaisler GRCAN or GRHCAN.
|
|
|
|
Note that the driver supports little endian, even though little
|
|
|
|
endian syntheses of the cores would need some modifications on
|
|
|
|
the hardware level to work.
|
|
|
|
|
2016-02-16 15:34:38 +07:00
|
|
|
config CAN_JANZ_ICAN3
|
|
|
|
tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
|
|
|
|
depends on MFD_JANZ_CMODIO
|
|
|
|
---help---
|
|
|
|
Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which
|
|
|
|
connects to a MODULbus carrier board.
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module will be
|
|
|
|
called janz-ican3.ko.
|
|
|
|
|
2015-09-16 18:21:22 +07:00
|
|
|
config CAN_SUN4I
|
|
|
|
tristate "Allwinner A10 CAN controller"
|
|
|
|
depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to use CAN controller found on Allwinner
|
|
|
|
A10/A20 SoCs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called sun4i_can.
|
|
|
|
|
2016-02-16 15:34:38 +07:00
|
|
|
config CAN_TI_HECC
|
|
|
|
depends on ARM
|
|
|
|
tristate "TI High End CAN Controller"
|
|
|
|
---help---
|
|
|
|
Driver for TI HECC (High End CAN Controller) module found on many
|
|
|
|
TI devices. The device specifications are available from www.ti.com
|
|
|
|
|
2014-05-21 14:00:59 +07:00
|
|
|
config CAN_XILINXCAN
|
|
|
|
tristate "Xilinx CAN"
|
2015-03-09 21:03:32 +07:00
|
|
|
depends on ARCH_ZYNQ || ARM64 || MICROBLAZE || COMPILE_TEST
|
2014-05-21 14:00:59 +07:00
|
|
|
depends on COMMON_CLK && HAS_IOMEM
|
|
|
|
---help---
|
|
|
|
Xilinx CAN driver. This driver supports both soft AXI CAN IP and
|
|
|
|
Zynq CANPS IP.
|
|
|
|
|
2016-02-16 15:34:38 +07:00
|
|
|
config PCH_CAN
|
|
|
|
tristate "Intel EG20T PCH CAN controller"
|
|
|
|
depends on PCI && (X86_32 || COMPILE_TEST)
|
|
|
|
---help---
|
|
|
|
This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
|
|
|
|
is an IOH for x86 embedded processor (Intel Atom E6xx series).
|
|
|
|
This driver can access CAN bus.
|
2009-11-12 08:35:01 +07:00
|
|
|
|
2011-02-14 13:51:44 +07:00
|
|
|
source "drivers/net/can/c_can/Kconfig"
|
2011-12-01 06:41:18 +07:00
|
|
|
source "drivers/net/can/cc770/Kconfig"
|
2016-01-20 21:33:39 +07:00
|
|
|
source "drivers/net/can/ifi_canfd/Kconfig"
|
2016-01-12 01:47:59 +07:00
|
|
|
source "drivers/net/can/m_can/Kconfig"
|
|
|
|
source "drivers/net/can/mscan/Kconfig"
|
2017-01-19 22:31:07 +07:00
|
|
|
source "drivers/net/can/peak_canfd/Kconfig"
|
2016-06-17 15:20:55 +07:00
|
|
|
source "drivers/net/can/rcar/Kconfig"
|
2016-01-12 01:47:59 +07:00
|
|
|
source "drivers/net/can/sja1000/Kconfig"
|
|
|
|
source "drivers/net/can/softing/Kconfig"
|
2014-03-25 21:30:21 +07:00
|
|
|
source "drivers/net/can/spi/Kconfig"
|
2009-11-12 08:35:01 +07:00
|
|
|
source "drivers/net/can/usb/Kconfig"
|
|
|
|
|
2012-07-21 02:04:13 +07:00
|
|
|
endif
|
|
|
|
|
2007-11-17 06:56:08 +07:00
|
|
|
config CAN_DEBUG_DEVICES
|
|
|
|
bool "CAN devices debugging messages"
|
|
|
|
---help---
|
|
|
|
Say Y here if you want the CAN device drivers to produce a bunch of
|
|
|
|
debug messages to the system log. Select this if you are having
|
|
|
|
a problem with CAN support and want to see more of what is going
|
|
|
|
on.
|
|
|
|
|
|
|
|
endmenu
|