can: Add driver for SJA1000 based PCI CAN interface cards by esd
Subsystems (3)
PATCH 1/1 can: Add driver for SJA1000 based PCI CAN interface cards by esd
This patch adds support for SJA1000 based PCI CAN interface cards from electronic system design gmbh.
These boards are supported:
CAN-PCI/200 (PCI)
CAN-PCI/266 (PCI)
CAN-PMC266 (PMC module)
CAN-PCIe/2000 (PCI Express)
CAN-CPCI/200 (Compact PCI, 3U)
CAN-PCI104 (PCI104)This driver is part of the SocketCAN SVN repository since April 2009.
--- drivers/net/can/sja1000/Kconfig | 9 + drivers/net/can/sja1000/Makefile | 1 + drivers/net/can/sja1000/esd_pci.c | 315 +++++++++++++++++++++++++++++++++++++ 3 files changed, 325 insertions(+), 0 deletions(-) create mode 100644 drivers/net/can/sja1000/esd_pci.c
drivers/net/can/sja1000/Kconfig +9 -0
@@ -37,6 +37,15 @@ config CAN_EMS_PCI CPC-PCIe and CPC-104P cards from EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de). +config CAN_ESD_PCI + tristate "ESD PCI Cards" + depends on PCI + ---help--- + This driver supports the esd PCI CAN cards CAN-PCI/200, + CAN-PCI/266, CAN-PMC/266 (PMC), CAN-CPCI/200 (CompactPCI), + CAN-PCIe2000 (PCI Express) and CAN-PCI104/200 (PCI104) + from the esd electronic system design gmbh (http://www.esd.eu). + config CAN_KVASER_PCI tristate "Kvaser PCIcanx and Kvaser PCIcan PCI Cards" depends on PCI
drivers/net/can/sja1000/Makefile +1 -0
@@ -7,6 +7,7 @@ obj-$(CONFIG_CAN_SJA1000_ISA) += sja1000_isa.o obj-$(CONFIG_CAN_SJA1000_PLATFORM) += sja1000_platform.o obj-$(CONFIG_CAN_SJA1000_OF_PLATFORM) += sja1000_of_platform.o obj-$(CONFIG_CAN_EMS_PCI) += ems_pci.o +obj-$(CONFIG_CAN_ESD_PCI) += esd_pci.o obj-$(CONFIG_CAN_KVASER_PCI) += kvaser_pci.o obj-$(CONFIG_CAN_PLX_PCI) += plx_pci.o
drivers/net/can/sja1000/esd_pci.c new file +315 -0
315 lines not on this page · raw message
Signature · 1 line
1.6.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Matthias,
Quoted 12 lines · Matthias Fuchs
This patch adds support for SJA1000 based PCI CAN interface cards from electronic system design gmbh.
These boards are supported:
CAN-PCI/200 (PCI) CAN-PCI/266 (PCI) CAN-PMC266 (PMC module) CAN-PCIe/2000 (PCI Express) CAN-CPCI/200 (Compact PCI, 3U) CAN-PCI104 (PCI104)
Quoted 4 lines
This driver is part of the SocketCAN SVN repository since April 2009.
Signed-off-by Matthias Fuchs <[email protected]>
Since a while we have a generic PCI PLX driver in the mainline kernel, which could support the esd cards as well, I believe.
Wolfgang.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Wolfgang,
I am aware of the PCI PLX driver. It should be possible to adapt that one. It lacks PLX9056 support so it's not done by just adding some PCI device IDs.
But if that's how it should be done I will do so.
Matthias
Quoted 26 lines · Wolfgang Grandegger
Hi Matthias,
Quoted 12 lines · Matthias Fuchs
This patch adds support for SJA1000 based PCI CAN interface cards from electronic system design gmbh.
These boards are supported:
CAN-PCI/200 (PCI) CAN-PCI/266 (PCI) CAN-PMC266 (PMC module) CAN-PCIe/2000 (PCI Express) CAN-CPCI/200 (Compact PCI, 3U) CAN-PCI104 (PCI104)Quoted 4 lines
This driver is part of the SocketCAN SVN repository since April 2009.
Signed-off-by Matthias Fuchs <[email protected]>Since a while we have a generic PCI PLX driver in the mainline kernel, which could support the esd cards as well, I believe.
Wolfgang.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Matthias Fuchs
Hi Wolfgang,
I am aware of the PCI PLX driver. It should be possible to adapt that one. It lacks PLX9056 support so it's not done by just adding some PCI device IDs.
But if that's how it should be done I will do so.
From the maintenance point of view, that's the preferred solution.
Thanks for your effort.
Wolfgang.