xref: /openbmc/linux/drivers/net/can/Kconfig (revision a61a8423)
1ccb29637SOliver Hartkoppmenu "CAN Device Drivers"
2ccb29637SOliver Hartkopp	depends on CAN
3ccb29637SOliver Hartkopp
4ccb29637SOliver Hartkoppconfig CAN_VCAN
5ccb29637SOliver Hartkopp	tristate "Virtual Local CAN Interface (vcan)"
6ccb29637SOliver Hartkopp	depends on CAN
7ccb29637SOliver Hartkopp	default N
8ccb29637SOliver Hartkopp	---help---
9ccb29637SOliver Hartkopp	  Similar to the network loopback devices, vcan offers a
10ccb29637SOliver Hartkopp	  virtual local CAN interface.
11ccb29637SOliver Hartkopp
12ccb29637SOliver Hartkopp	  This driver can also be built as a module.  If so, the module
13ccb29637SOliver Hartkopp	  will be called vcan.
14ccb29637SOliver Hartkopp
1539549eefSWolfgang Grandeggerconfig CAN_DEV
1639549eefSWolfgang Grandegger	tristate "Platform CAN drivers with Netlink support"
1739549eefSWolfgang Grandegger	depends on CAN
1839549eefSWolfgang Grandegger	default Y
1939549eefSWolfgang Grandegger	---help---
2039549eefSWolfgang Grandegger	  Enables the common framework for platform CAN drivers with Netlink
2139549eefSWolfgang Grandegger	  support. This is the standard library for CAN drivers.
2239549eefSWolfgang Grandegger	  If unsure, say Y.
2339549eefSWolfgang Grandegger
2439549eefSWolfgang Grandeggerconfig CAN_CALC_BITTIMING
2539549eefSWolfgang Grandegger	bool "CAN bit-timing calculation"
2639549eefSWolfgang Grandegger	depends on CAN_DEV
2739549eefSWolfgang Grandegger	default Y
2839549eefSWolfgang Grandegger	---help---
2939549eefSWolfgang Grandegger	  If enabled, CAN bit-timing parameters will be calculated for the
3039549eefSWolfgang Grandegger	  bit-rate specified via Netlink argument "bitrate" when the device
3139549eefSWolfgang Grandegger	  get started. This works fine for the most common CAN controllers
3239549eefSWolfgang Grandegger	  with standard bit-rates but may fail for exotic bit-rates or CAN
3339549eefSWolfgang Grandegger	  source clock frequencies. Disabling saves some space, but then the
3439549eefSWolfgang Grandegger	  bit-timing parameters must be specified directly using the Netlink
3539549eefSWolfgang Grandegger	  arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
3639549eefSWolfgang Grandegger	  If unsure, say Y.
3739549eefSWolfgang Grandegger
38429da1ccSWolfgang Grandeggerconfig CAN_SJA1000
39429da1ccSWolfgang Grandegger	depends on CAN_DEV
40429da1ccSWolfgang Grandegger	tristate "Philips SJA1000"
41429da1ccSWolfgang Grandegger	---help---
42429da1ccSWolfgang Grandegger	  Driver for the SJA1000 CAN controllers from Philips or NXP
43429da1ccSWolfgang Grandegger
44f534e52fSWolfgang Grandeggerconfig CAN_SJA1000_PLATFORM
45f534e52fSWolfgang Grandegger	depends on CAN_SJA1000
46f534e52fSWolfgang Grandegger	tristate "Generic Platform Bus based SJA1000 driver"
47f534e52fSWolfgang Grandegger	---help---
48f534e52fSWolfgang Grandegger	  This driver adds support for the SJA1000 chips connected to
49f534e52fSWolfgang Grandegger	  the "platform bus" (Linux abstraction for directly to the
50f534e52fSWolfgang Grandegger	  processor attached devices).  Which can be found on various
51f534e52fSWolfgang Grandegger	  boards from Phytec (http://www.phytec.de) like the PCM027,
52f534e52fSWolfgang Grandegger	  PCM038.
53f534e52fSWolfgang Grandegger
54a61a8423SWolfgang Grandeggerconfig CAN_EMS_PCI
55a61a8423SWolfgang Grandegger	tristate "EMS CPC-PCI and CPC-PCIe Card"
56a61a8423SWolfgang Grandegger	depends on PCI && CAN_SJA1000
57a61a8423SWolfgang Grandegger	---help---
58a61a8423SWolfgang Grandegger	  This driver is for the one or two channel CPC-PCI and CPC-PCIe
59a61a8423SWolfgang Grandegger	  cards from EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de).
60a61a8423SWolfgang Grandegger
61ccb29637SOliver Hartkoppconfig CAN_DEBUG_DEVICES
62ccb29637SOliver Hartkopp	bool "CAN devices debugging messages"
63ccb29637SOliver Hartkopp	depends on CAN
64ccb29637SOliver Hartkopp	default N
65ccb29637SOliver Hartkopp	---help---
66ccb29637SOliver Hartkopp	  Say Y here if you want the CAN device drivers to produce a bunch of
67ccb29637SOliver Hartkopp	  debug messages to the system log.  Select this if you are having
68ccb29637SOliver Hartkopp	  a problem with CAN support and want to see more of what is going
69ccb29637SOliver Hartkopp	  on.
70ccb29637SOliver Hartkopp
71ccb29637SOliver Hartkoppendmenu
72