Kconfig 4.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
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.

12 13
config CAN_SLCAN
	tristate "Serial / USB serial CAN Adaptors (slcan)"
14
	depends on TTY
15 16 17 18 19 20 21
	---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:
22
	  www.canusb.com / www.can232.com / www.mictronics.de / www.canhack.de
23 24 25 26 27 28 29 30 31

	  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.

32 33
config CAN_DEV
	tristate "Platform CAN drivers with Netlink support"
34
	default y
35 36 37 38 39
	---help---
	  Enables the common framework for platform CAN drivers with Netlink
	  support. This is the standard library for CAN drivers.
	  If unsure, say Y.

40 41
if CAN_DEV

42 43
config CAN_CALC_BITTIMING
	bool "CAN bit-timing calculation"
44
	default y
45 46 47 48 49 50 51 52 53 54
	---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.

55 56 57 58 59 60 61 62 63 64 65
config CAN_LEDS
	bool "Enable LED triggers for Netlink based drivers"
	depends on LEDS_CLASS
	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.

66 67
config CAN_AT91
	tristate "Atmel AT91 onchip CAN controller"
68
	depends on ARCH_AT91 || COMPILE_TEST
69
	---help---
70 71
	  This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
	  and AT91SAM9X5 processors.
72

A
Anant Gole 已提交
73
config CAN_TI_HECC
74
	depends on ARM
A
Anant Gole 已提交
75 76 77 78 79
	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

80
config CAN_BFIN
81
	depends on BF534 || BF536 || BF537 || BF538 || BF539 || BF54x
82 83 84 85 86 87 88
	tristate "Analog Devices Blackfin on-chip CAN"
	---help---
	  Driver for the Analog Devices Blackfin on-chip CAN controllers

	  To compile this driver as a module, choose M here: the
	  module will be called bfin_can.

89 90
config CAN_JANZ_ICAN3
	tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
91
	depends on MFD_JANZ_CMODIO
92 93 94 95 96 97 98
	---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.

99 100
config CAN_FLEXCAN
	tristate "Support for Freescale FLEXCAN based chips"
101
	depends on ARM || PPC
102 103 104
	---help---
	  Say Y here if you want to support for Freescale FlexCAN.

105
config PCH_CAN
106
	tristate "Intel EG20T PCH CAN controller"
107
	depends on PCI && (X86_32 || COMPILE_TEST)
108
	---help---
109 110
	  This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
	  is an IOH for x86 embedded processor (Intel Atom E6xx series).
111 112
	  This driver can access CAN bus.

113 114
config CAN_GRCAN
	tristate "Aeroflex Gaisler GRCAN and GRHCAN CAN devices"
115
	depends on OF
116 117 118 119 120 121
	---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.

W
Wolfram Sang 已提交
122
source "drivers/net/can/mscan/Kconfig"
123

124 125
source "drivers/net/can/sja1000/Kconfig"

126 127
source "drivers/net/can/c_can/Kconfig"

128 129
source "drivers/net/can/cc770/Kconfig"

130 131
source "drivers/net/can/spi/Kconfig"

132 133
source "drivers/net/can/usb/Kconfig"

134 135
source "drivers/net/can/softing/Kconfig"

136 137
endif

138 139 140 141 142 143 144 145 146
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