can/sja1000: driver for PEAK PCAN PCI/PCIe cards
Subsystems (3)
PATCH v2 1/1 can/sja1000: driver for PEAK PCAN PCI/PCIe cards
This patch add the peak_pci driver for the PCAN PCI/PCIe cards (1, 2, 3 or 4 channels) from PEAK Systems (http://www.peak-system.com).
---
Changes since v1:
- Remove support for the PCAN ExpressCards (device ID 0x0002) as it is not yet complete, e.g. I2C initialisations to enable the CAN transceiver (and the funky status LEDs) is missing.
drivers/net/can/sja1000/Kconfig | 7 + drivers/net/can/sja1000/Makefile | 1 + drivers/net/can/sja1000/peak_pci.c | 291 ++++++++++++++++++++++++++++++++++++ 3 files changed, 299 insertions(+), 0 deletions(-) create mode 100644 drivers/net/can/sja1000/peak_pci.c
drivers/net/can/sja1000/Kconfig +7 -0
@@ -37,6 +37,13 @@ config CAN_EMS_PCI CPC-PCIe and CPC-104P cards from EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de). +config CAN_PEAK_PCI + tristate "PEAK PCAN PCI/PCIe Cards" + depends on PCI + ---help--- + This driver is for the PCAN PCI/PCIe cards (1, 2, 3 or 4 channels) + from PEAK Systems (http://www.peak-system.com). + config CAN_KVASER_PCI tristate "Kvaser PCIcanx and Kvaser PCIcan PCI Cards" depends on PCI
drivers/net/can/sja1000/Makefile +1 -0
@@ -8,6 +8,7 @@ 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_KVASER_PCI) += kvaser_pci.o +obj-$(CONFIG_CAN_PEAK_PCI) += peak_pci.o obj-$(CONFIG_CAN_PLX_PCI) += plx_pci.o obj-$(CONFIG_CAN_TSCAN1) += tscan1.o
drivers/net/can/sja1000/peak_pci.c new file +291 -0
291 lines not on this page · raw message
Signature · 1 line
1.7.4.1
A message that is not in the archive (sent off-list or not yet received): [email protected]
David Miller
AppliedFrom: Wolfgang Grandegger <[email protected]>
Date: Tue, 13 Sep 2011 09:16:06 +0200
Quoted 6 lines
This patch add the
peak_pcidriver for the PCAN PCI/PCIe cards (1, 2, 3 or 4 channels) from PEAK Systems (http://www.peak-system.com).Signed-off-by Wolfgang Grandegger <[email protected]>Tested-by Oliver Hartkopp <[email protected]>
Applied, thanks.