]> rtime.felk.cvut.cz Git - socketcan-devel.git/blobdiff - kernel/2.6/drivers/net/can/Kconfig
Make CAN bit-timing calculation configurable
[socketcan-devel.git] / kernel / 2.6 / drivers / net / can / Kconfig
index 45bc7f039a4710cd2210c6fb9682bc97d8e57ef9..722ea837f36cf7baeeb0ddf9f7b395723a116231 100644 (file)
@@ -46,6 +46,20 @@ config CAN_DEV
          support. This is the standard library for CAN drivers.
          If unsure, say Y.
 
+config CAN_CALC_BITTIMING
+       tristate "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 SYSFS file "can_bitrate" when the device
+         gets 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 SYSFS
+         files "tq, prop_seg, phase_seg1, phase_seg2 and sjw".
+         If unsure, say Y.
+
 config CAN_SJA1000
        depends on CAN_DEV
                tristate "Philips SJA1000"
@@ -59,6 +73,16 @@ config CAN_SJA1000
 
          This driver will use the new device interface.
 
+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.
+
 config CAN_EMS_PCI
        tristate "EMS CPC-PCI and CPC-PCIe Card"
        depends on PCI && CAN_SJA1000
@@ -91,13 +115,6 @@ config CAN_PEAK_PCI
        This driver is for the PCAN PCI, the PC-PCI CAN plug-in card (1 or
        2 channel) from PEAK Systems (http://www.peak-system.com).
 
-config CAN_PCM027
-        depends on CAN_SJA1000 && MACH_PCM027
-       tristate "Phytec pcm027 can driver (SJA1000)"
-       help
-       This driver adds support for the SJA1000 chip on the PCM027 board
-       from Phytec (http://www.phytec.de).
-
 config CAN_PIPCAN
        depends on CAN_SJA1000
        tristate "MPL PIPCAN CAN module driver (SJA1000)"