Skip to contentSkip to conversation

can: Add esd board support to plx_pci CAN driver

PATCH Applied Matthias Fuchs 3 participants 3 messages Apr 7, 2010 – Apr 13, 2010 1 message not in the archive

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

PATCH v2 1/1 can: Add esd board support to plx_pci CAN driver

This patch adds support for SJA1000 based PCI CAN interface cards from electronic system design gmbh.

Some changes have been done on the common code:
- esd boards must not have the 2nd local interupt enabled (PLX9030/9050)
- a new path for PLX9056/PEX8311 chips has been added
- new plx9056 reset function has been implemented
- struct plx_card_info got a reset function entry

In detail the following additional boards are now 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)

---
v2:
- update Kconfig
- add proper plx9056 reset function
- add reset function pointer to plx_card_info structure
- use card's reset function in plx_pci_del_card()

 drivers/net/can/sja1000/Kconfig   |    4 +-
 drivers/net/can/sja1000/plx_pci.c |  153 ++++++++++++++++++++++++++++++++++---
 2 files changed, 145 insertions(+), 12 deletions(-)
drivers/net/can/sja1000/Kconfig +3 -1
index c01eb4e..b49f609 100644
@@ -62,7 +62,9 @@ config CAN_PLX_PCI
 	  Driver supports now:
 	   - Adlink PCI-7841/cPCI-7841 card (http://www.adlinktech.com/)
 	   - Adlink PCI-7841/cPCI-7841 SE card
+	   - esd CAN-PCI/CPCI/PCI104/200 (http://www.esd.eu/)
+	   - esd CAN-PCI/PMC/266
+	   - esd CAN-PCIe/2000
 	   - Marathon CAN-bus-PCI card (http://www.marathon.ru/)
 	   - TEWS TECHNOLOGIES TPMC810 card (http://www.tews.com/)
-
 endif
drivers/net/can/sja1000/plx_pci.c +142 -11

232 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]

#2 lore raw
Quoted 18 lines · Matthias Fuchs

This patch adds support for SJA1000 based PCI CAN interface cards from electronic system design gmbh.

Some changes have been done on the common code:
- esd boards must not have the 2nd local interupt enabled (PLX9030/9050)
- a new path for PLX9056/PEX8311 chips has been added
- new plx9056 reset function has been implemented
- struct plx_card_info got a reset function entry

In detail the following additional boards are now 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 7 lines

---
v2:
- update Kconfig
- add proper plx9056 reset function
- add reset function pointer to plx_card_info structure
- use card's reset function in plx_pci_del_card()

Thanks.

Wolfgang.

maintainer Applied
#3 lore raw

From: Wolfgang Grandegger <[email protected]>
Date: Sun, 11 Apr 2010 16:50:46 +0200

Quoted 27 lines
Quoted 18 lines · Matthias Fuchs

This patch adds support for SJA1000 based PCI CAN interface cards from electronic system design gmbh.

Some changes have been done on the common code:
- esd boards must not have the 2nd local interupt enabled (PLX9030/9050)
- a new path for PLX9056/PEX8311 chips has been added
- new plx9056 reset function has been implemented
- struct plx_card_info got a reset function entry

In detail the following additional boards are now 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 7 lines

---
v2:
- update Kconfig
- add proper plx9056 reset function
- add reset function pointer to plx_card_info structure
- use card's reset function in plx_pci_del_card()

Quoted 1 line

Applied to net-next-2.6, thanks.