aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/Kconfig
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2009-05-30 03:55:50 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-01 05:53:35 -0400
commitd1a277c584d0862dbf51991baea947ea5f2ce6bf (patch)
tree368832ff703abde6c813eaaba42a48ae451fc1f1 /drivers/net/can/Kconfig
parent255a9154319d3cf475d527458037758935f6445b (diff)
can: sja1000: generic OF platform bus driver
This patch adds a generic driver for SJA1000 chips on the OpenFirmware platform bus found on embedded PowerPC systems. You need a SJA1000 node definition in your flattened device tree source (DTS) file similar to: can@3,100 { compatible = "nxp,sja1000"; reg = <3 0x100 0x80>; interrupts = <2 0>; interrupt-parent = <&mpic>; nxp,external-clock-frequency = <16000000>; }; See also Documentation/powerpc/dts-bindings/can/sja1000.txt. CC: devicetree-discuss@ozlabs.org Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/Kconfig')
-rw-r--r--drivers/net/can/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index cfd6c5a285fa..d5e18812bf49 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -51,6 +51,15 @@ config CAN_SJA1000_PLATFORM
51 boards from Phytec (http://www.phytec.de) like the PCM027, 51 boards from Phytec (http://www.phytec.de) like the PCM027,
52 PCM038. 52 PCM038.
53 53
54config CAN_SJA1000_OF_PLATFORM
55 depends on CAN_SJA1000 && PPC_OF
56 tristate "Generic OF Platform Bus based SJA1000 driver"
57 ---help---
58 This driver adds support for the SJA1000 chips connected to
59 the OpenFirmware "platform bus" found on embedded systems with
60 OpenFirmware bindings, e.g. if you have a PowerPC based system
61 you may want to enable this option.
62
54config CAN_EMS_PCI 63config CAN_EMS_PCI
55 tristate "EMS CPC-PCI and CPC-PCIe Card" 64 tristate "EMS CPC-PCI and CPC-PCIe Card"
56 depends on PCI && CAN_SJA1000 65 depends on PCI && CAN_SJA1000