Skip to contentSkip to conversation

can: tscan1: add driver for TS-CAN1 boards

PATCH Applied Andre B. Oliveira 4 participants 4 messages Oct 19, 2010 – Oct 24, 2010 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 can: tscan1: add driver for TS-CAN1 boards

Add driver for Technologic Systems TS-CAN1 PC104 peripheral boards.

---
 drivers/net/can/sja1000/Kconfig  |   12 ++
 drivers/net/can/sja1000/Makefile |    1 +
 drivers/net/can/sja1000/tscan1.c |  216 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 229 insertions(+), 0 deletions(-)
 create mode 100644 drivers/net/can/sja1000/tscan1.c
drivers/net/can/sja1000/Kconfig +12 -0
index ae3505a..6fdc031 100644
@@ -58,4 +58,16 @@ config CAN_PLX_PCI
 	   - esd CAN-PCIe/2000
 	   - Marathon CAN-bus-PCI card (http://www.marathon.ru/)
 	   - TEWS TECHNOLOGIES TPMC810 card (http://www.tews.com/)
+
+config CAN_TSCAN1
+	tristate "TS-CAN1 PC104 boards"
+	depends on ISA
+	help
+	This driver is for Technologic Systems' TSCAN-1 PC104 boards.
+	http://www.embeddedarm.com/products/board-detail.php?product=TS-CAN1
+	The driver supports multiple boards and automatically configures them:
+	PLD IO base addresses are read from jumpers JP1 and JP2,
+	IRQ numbers are read from jumpers JP4 and JP5,
+	SJA1000 IO base addresses are chosen heuristically (first that works).
+
 endif
drivers/net/can/sja1000/Makefile +1 -0
index ce92455..2c591eb 100644
@@ -9,5 +9,6 @@ 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_PLX_PCI) += plx_pci.o
+obj-$(CONFIG_CAN_TSCAN1) += tscan1.o
 
 ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
drivers/net/can/sja1000/tscan1.c new file +216 -0

216 lines not on this page · raw message

Signature · 1 line
1.7.1

A message that is not in the archive (sent off-list or not yet received): 1287474447-2049-1-git-send-email-anbadeol-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

A message that is not in the archive (sent off-list or not yet received): [email protected]