]> rtime.felk.cvut.cz Git - socketcan-devel.git/blob - kernel/2.6/drivers/net/can/Kconfig
The two options "CAN bit-timing calculation" and
[socketcan-devel.git] / kernel / 2.6 / drivers / net / can / Kconfig
1 menu "CAN Device Drivers"
2         depends on CAN
3
4 config CAN_VCAN
5         tristate "Virtual Local CAN Interface (vcan)"
6         depends on CAN
7         default N
8         ---help---
9           Similar to the network loopback devices, vcan offers a
10           virtual local CAN interface.
11
12           This driver can also be built as a module.  If so, the module
13           will be called vcan.
14
15 config CAN_SLCAN
16         tristate "Serial / USB serial CAN Adaptors (slcan)"
17         depends on CAN
18         default N
19         ---help---
20           CAN driver for several 'low cost' CAN interfaces that are attached
21           via serial lines or via USB-to-serial adapters using the LAWICEL
22           ASCII protocol. The driver implements the tty linediscipline N_SLCAN.
23
24           As only the sending and receiving of CAN frames is implemented, this
25           driver should work with the (serial/USB) CAN hardware from:
26           www.canusb.com / www.can232.com / www.mictronics.de / www.canhack.de
27
28           Userspace tools to attach the SLCAN line discipline (slcan_attach,
29           slcand) can be found in the can-utils at the SocketCAN SVN, see
30           http://developer.berlios.de/projects/socketcan for details.
31
32           The slcan driver supports up to 10 CAN netdevices by default which
33           can be changed by the 'maxdev=xx' module option. This driver can
34           also be built as a module. If so, the module will be called slcan.
35
36 config CAN_OLD_DRIVERS
37         tristate "Prompt for old CAN drivers (e.g. no sysfs support)"
38         depends on CAN
39         default N
40         ---help---
41           The old drivers do not support sysfs nor proper platform device
42           support. Some of the old drivers might only be configured by
43           module commandline options.
44
45 if CAN_OLD_DRIVERS
46 source "drivers/net/can/old/Kconfig"
47 endif
48
49 config CAN_DEV
50         tristate "Platform CAN drivers with Netlink support"
51         depends on CAN
52         default y
53         ---help---
54           Enables the common framework for platform CAN drivers with Netlink
55           support. This is the standard library for CAN drivers.
56           If unsure, say Y.
57
58 config CAN_DEV_SYSFS
59         bool "Support for sysfs interface (deprecated)"
60         depends on CAN_DEV && SYSFS
61         default N
62         ---help---
63           Adds support for the legacy sysfs interface to configure CAN
64           devices. If possible, please use the new netlink interface
65           instead.
66           If unsure, say N.
67
68 config CAN_CALC_BITTIMING
69         bool "CAN bit-timing calculation"
70         depends on CAN_DEV
71         default y
72         ---help---
73           If enabled, CAN bit-timing parameters will be calculated for the
74           bit-rate specified via Netlink argument "bitrate" when the device
75           get started. This works fine for the most common CAN controllers
76           with standard bit-rates but may fail for exotic bit-rates or CAN
77           source clock frequencies. Disabling saves some space, but then the
78           bit-timing parameters must be specified directly using the Netlink
79           arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
80           If unsure, say Y.
81
82 config CAN_ESD_PCI331
83         tristate "ESD CAN 331 Cards"
84         depends on PCI && CAN_DEV
85         ---help---
86           This driver supports the PCI/331, CPCI/331 and PMC/331 CAN cards
87           from the esd system design gmbh (http://www.esd.eu).
88
89 config CAN_SOFTING
90         tristate "Softing Gmbh CAN generic support"
91         depends on CAN_DEV
92         ---help---
93           generic softing CAN cards
94           Sofing CAN cards come with 1 or 2 physical busses.
95           The API of the card does not allow fine control per bus, but
96           controls the 2 busses on the card together.
97           As such, some actions (start/stop/busoff recovery) on 1 bus
98           must bring down the other bus too temporarily.
99           You have been warned.
100           This driver is written on safe on 64bit, but not on big endian.
101
102 config CAN_SOFTING_CS
103         tristate "Softing CAN pcmcia cards"
104         depends on CAN_SOFTING && PCMCIA
105         ---help---
106           Support for PCMCIA cards from Softing Gmbh & some cards
107           from Vector Gmbh.
108           You need firmware for these, which you can get at
109           http://developer.berlios.de/projects/socketcan/
110           This version of the driver is written against
111           firmware version 4.6
112
113 config CAN_AT91
114         tristate "Atmel AT91 onchip CAN controller"
115         depends on CAN_DEV && ARCH_AT91SAM9263
116         default N
117         ---help---
118           This is a driver for the SoC CAN controller in Atmel's AT91SAM9263.
119
120 config CAN_MCP251X
121         tristate "Microchip MCP251x SPI CAN controllers"
122         depends on CAN_DEV && SPI
123         ---help---
124           Driver for the Microchip MCP251x SPI CAN controllers.
125
126 source "drivers/net/can/cc770/Kconfig"
127
128 source "drivers/net/can/mscan/Kconfig"
129
130 source "drivers/net/can/sja1000/Kconfig"
131
132 source "drivers/net/can/usb/Kconfig"
133
134 config CAN_DEBUG_DEVICES
135         bool "CAN devices debugging messages"
136         depends on CAN
137         default N
138         ---help---
139           Say Y here if you want the CAN device drivers to produce a bunch of
140           debug messages to the system log.  Select this if you are having
141           a problem with CAN support and want to see more of what is going
142           on.
143
144 endmenu