can: tscan1: add driver for TS-CAN1 boards
Subsystems (3)
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
@@ -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
@@ -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
Wolfgang Grandegger
Acked-byQuoted 3 lines · Andre B. Oliveira
Add driver for Technologic Systems TS-CAN1 PC104 peripheral boards.
Signed-off-by Andre B. Oliveira <[email protected]>
Thanks for your contribution.
Wolfgang.
Quoted 3 lines · Andre B. Oliveira
Add driver for Technologic Systems TS-CAN1 PC104 peripheral boards.
Signed-off-by Andre B. Oliveira <[email protected]>
This one already had a round on the socketcan-list, so:
Signature · 2 lines
Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
A message that is not in the archive (sent off-list or not yet received): [email protected]
David Miller
AppliedFrom: Wolfram Sang <[email protected]>
Date: Tue, 19 Oct 2010 21:27:30 +0200
Quoted 8 lines · Andre B. Oliveira
Quoted 3 lines
Add driver for Technologic Systems TS-CAN1 PC104 peripheral boards.
Signed-off-by Andre B. Oliveira <[email protected]>This one already had a round on the socketcan-list, so:
Reviewed-by Wolfram Sang <[email protected]>
Applied, thanks everyone.