2007-11-17 07:56:08 +08:00
|
|
|
menu "CAN Device Drivers"
|
|
|
|
depends on CAN
|
|
|
|
|
|
|
|
config CAN_VCAN
|
|
|
|
tristate "Virtual Local CAN Interface (vcan)"
|
|
|
|
depends on CAN
|
|
|
|
default N
|
|
|
|
---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.
|
|
|
|
|
2009-05-16 07:39:29 +08:00
|
|
|
config CAN_DEV
|
|
|
|
tristate "Platform CAN drivers with Netlink support"
|
|
|
|
depends on CAN
|
|
|
|
default Y
|
|
|
|
---help---
|
|
|
|
Enables the common framework for platform CAN drivers with Netlink
|
|
|
|
support. This is the standard library for CAN drivers.
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
config CAN_CALC_BITTIMING
|
|
|
|
bool "CAN bit-timing calculation"
|
|
|
|
depends on CAN_DEV
|
|
|
|
default Y
|
|
|
|
---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.
|
|
|
|
|
2009-05-16 07:39:30 +08:00
|
|
|
config CAN_SJA1000
|
2009-06-23 05:31:20 +08:00
|
|
|
depends on CAN_DEV && HAS_IOMEM
|
2009-05-16 07:39:30 +08:00
|
|
|
tristate "Philips SJA1000"
|
|
|
|
---help---
|
|
|
|
Driver for the SJA1000 CAN controllers from Philips or NXP
|
|
|
|
|
can: sja1000: legacy SJA1000 ISA bus driver
This patch adds support for legacy SJA1000 CAN controllers on the ISA
or PC-104 bus. The I/O port or memory address and the IRQ number must
be specified via module parameters:
insmod sja1000_isa.ko port=0x310,0x380 irq=7,11
for ISA devices using I/O ports or:
insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11
for memory mapped ISA devices.
Indirect access via address and data port is supported as well:
insmod sja1000_isa.ko port=0x310,0x380 indirect=1 irq=7,11
Here is a full list of the supported module parameters:
port:I/O port number (array of ulong)
mem:I/O memory address (array of ulong)
indirect:Indirect access via address and data port (array of byte)
irq:IRQ number (array of int)
clk:External oscillator clock frequency (default=16000000 [16 MHz])
(array of int)
cdr:Clock divider register (default=0x48 [CDR_CBP | CDR_CLK_OFF])
(array of byte)
ocr:Output clock register (default=0x18 [OCR_TX0_PUSHPULL])
(array of byte)
Note: for clk, cdr, ocr, the first argument re-defines the default
for all other devices, e.g.:
insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11 clk=24000000
is equivalent to
insmod sja1000_isa.ko mem=0xd1000,0xd1000 irq=7,11 \
clk=24000000,24000000
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Tested-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-09-01 13:37:33 +08:00
|
|
|
config CAN_SJA1000_ISA
|
|
|
|
depends on CAN_SJA1000 && ISA
|
|
|
|
tristate "ISA Bus based legacy SJA1000 driver"
|
|
|
|
---help---
|
|
|
|
This driver adds legacy support for SJA1000 chips connected to
|
|
|
|
the ISA bus using I/O port, memory mapped or indirect access.
|
|
|
|
|
2009-05-16 07:39:31 +08:00
|
|
|
config CAN_SJA1000_PLATFORM
|
|
|
|
depends on CAN_SJA1000
|
|
|
|
tristate "Generic Platform Bus based SJA1000 driver"
|
|
|
|
---help---
|
|
|
|
This driver adds support for the SJA1000 chips connected to
|
|
|
|
the "platform bus" (Linux abstraction for directly to the
|
|
|
|
processor attached devices). Which can be found on various
|
|
|
|
boards from Phytec (http://www.phytec.de) like the PCM027,
|
|
|
|
PCM038.
|
|
|
|
|
2009-05-30 15:55:50 +08:00
|
|
|
config CAN_SJA1000_OF_PLATFORM
|
|
|
|
depends on CAN_SJA1000 && PPC_OF
|
|
|
|
tristate "Generic OF Platform Bus based SJA1000 driver"
|
|
|
|
---help---
|
|
|
|
This driver adds support for the SJA1000 chips connected to
|
|
|
|
the OpenFirmware "platform bus" found on embedded systems with
|
|
|
|
OpenFirmware bindings, e.g. if you have a PowerPC based system
|
|
|
|
you may want to enable this option.
|
|
|
|
|
2009-05-16 07:39:32 +08:00
|
|
|
config CAN_EMS_PCI
|
2009-07-22 03:38:13 +08:00
|
|
|
tristate "EMS CPC-PCI, CPC-PCIe and CPC-104P Card"
|
2009-05-16 07:39:32 +08:00
|
|
|
depends on PCI && CAN_SJA1000
|
|
|
|
---help---
|
2009-07-22 03:38:13 +08:00
|
|
|
This driver is for the one, two or four channel CPC-PCI,
|
|
|
|
CPC-PCIe and CPC-104P cards from EMS Dr. Thomas Wuensche
|
|
|
|
(http://www.ems-wuensche.de).
|
2009-05-16 07:39:32 +08:00
|
|
|
|
2009-09-16 10:04:20 +08:00
|
|
|
config CAN_EMS_USB
|
|
|
|
tristate "EMS CPC-USB/ARM7 CAN/USB interface"
|
|
|
|
depends on USB && CAN_DEV
|
|
|
|
---help---
|
|
|
|
This driver is for the one channel CPC-USB/ARM7 CAN/USB interface
|
|
|
|
from from EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de).
|
|
|
|
|
2009-05-16 07:39:33 +08:00
|
|
|
config CAN_KVASER_PCI
|
|
|
|
tristate "Kvaser PCIcanx and Kvaser PCIcan PCI Cards"
|
|
|
|
depends on PCI && CAN_SJA1000
|
|
|
|
---help---
|
|
|
|
This driver is for the the PCIcanx and PCIcan cards (1, 2 or
|
|
|
|
4 channel) from Kvaser (http://www.kvaser.com).
|
|
|
|
|
2009-09-23 05:46:57 +08:00
|
|
|
config CAN_AT91
|
|
|
|
tristate "Atmel AT91 onchip CAN controller"
|
|
|
|
depends on CAN && CAN_DEV && ARCH_AT91SAM9263
|
|
|
|
---help---
|
|
|
|
This is a driver for the SoC CAN controller in Atmel's AT91SAM9263.
|
|
|
|
|
2009-10-07 10:59:47 +08:00
|
|
|
config CAN_TI_HECC
|
|
|
|
depends on CAN_DEV && ARCH_OMAP3
|
|
|
|
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
|
|
|
|
|
2009-11-03 07:07:00 +08:00
|
|
|
config CAN_MCP251X
|
|
|
|
tristate "Microchip MCP251x SPI CAN controllers"
|
|
|
|
depends on CAN_DEV && SPI
|
|
|
|
---help---
|
|
|
|
Driver for the Microchip MCP251x SPI CAN controllers.
|
|
|
|
|
2007-11-17 07:56:08 +08:00
|
|
|
config CAN_DEBUG_DEVICES
|
|
|
|
bool "CAN devices debugging messages"
|
|
|
|
depends on CAN
|
|
|
|
default N
|
|
|
|
---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
|