diff options
Diffstat (limited to 'drivers/net/can/sja1000/plx_pci.c')
| -rw-r--r-- | drivers/net/can/sja1000/plx_pci.c | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/plx_pci.c b/drivers/net/can/sja1000/plx_pci.c index 5df7f9848823..fbb61a0d901f 100644 --- a/drivers/net/can/sja1000/plx_pci.c +++ b/drivers/net/can/sja1000/plx_pci.c | |||
| @@ -44,7 +44,8 @@ MODULE_SUPPORTED_DEVICE("Adlink PCI-7841/cPCI-7841, " | |||
| 44 | "esd CAN-PCI/PMC/266, " | 44 | "esd CAN-PCI/PMC/266, " |
| 45 | "esd CAN-PCIe/2000, " | 45 | "esd CAN-PCIe/2000, " |
| 46 | "Connect Tech Inc. CANpro/104-Plus Opto (CRG001), " | 46 | "Connect Tech Inc. CANpro/104-Plus Opto (CRG001), " |
| 47 | "IXXAT PC-I 04/PCI") | 47 | "IXXAT PC-I 04/PCI, " |
| 48 | "ELCUS CAN-200-PCI") | ||
| 48 | MODULE_LICENSE("GPL v2"); | 49 | MODULE_LICENSE("GPL v2"); |
| 49 | 50 | ||
| 50 | #define PLX_PCI_MAX_CHAN 2 | 51 | #define PLX_PCI_MAX_CHAN 2 |
| @@ -122,6 +123,11 @@ struct plx_pci_card { | |||
| 122 | #define ESD_PCI_SUB_SYS_ID_PCIE2000 0x0200 | 123 | #define ESD_PCI_SUB_SYS_ID_PCIE2000 0x0200 |
| 123 | #define ESD_PCI_SUB_SYS_ID_PCI104200 0x0501 | 124 | #define ESD_PCI_SUB_SYS_ID_PCI104200 0x0501 |
| 124 | 125 | ||
| 126 | #define CAN200PCI_DEVICE_ID 0x9030 | ||
| 127 | #define CAN200PCI_VENDOR_ID 0x10b5 | ||
| 128 | #define CAN200PCI_SUB_DEVICE_ID 0x0301 | ||
| 129 | #define CAN200PCI_SUB_VENDOR_ID 0xe1c5 | ||
| 130 | |||
| 125 | #define IXXAT_PCI_VENDOR_ID 0x10b5 | 131 | #define IXXAT_PCI_VENDOR_ID 0x10b5 |
| 126 | #define IXXAT_PCI_DEVICE_ID 0x9050 | 132 | #define IXXAT_PCI_DEVICE_ID 0x9050 |
| 127 | #define IXXAT_PCI_SUB_SYS_ID 0x2540 | 133 | #define IXXAT_PCI_SUB_SYS_ID 0x2540 |
| @@ -233,6 +239,14 @@ static struct plx_pci_card_info plx_pci_card_info_cti = { | |||
| 233 | /* based on PLX9030 */ | 239 | /* based on PLX9030 */ |
| 234 | }; | 240 | }; |
| 235 | 241 | ||
| 242 | static struct plx_pci_card_info plx_pci_card_info_elcus = { | ||
| 243 | "Eclus CAN-200-PCI", 2, | ||
| 244 | PLX_PCI_CAN_CLOCK, PLX_PCI_OCR, PLX_PCI_CDR, | ||
| 245 | {1, 0x00, 0x00}, { {2, 0x00, 0x80}, {3, 0x00, 0x80} }, | ||
| 246 | &plx_pci_reset_common | ||
| 247 | /* based on PLX9030 */ | ||
| 248 | }; | ||
| 249 | |||
| 236 | static DEFINE_PCI_DEVICE_TABLE(plx_pci_tbl) = { | 250 | static DEFINE_PCI_DEVICE_TABLE(plx_pci_tbl) = { |
| 237 | { | 251 | { |
| 238 | /* Adlink PCI-7841/cPCI-7841 */ | 252 | /* Adlink PCI-7841/cPCI-7841 */ |
| @@ -318,6 +332,13 @@ static DEFINE_PCI_DEVICE_TABLE(plx_pci_tbl) = { | |||
| 318 | 0, 0, | 332 | 0, 0, |
| 319 | (kernel_ulong_t)&plx_pci_card_info_cti | 333 | (kernel_ulong_t)&plx_pci_card_info_cti |
| 320 | }, | 334 | }, |
| 335 | { | ||
| 336 | /* Elcus CAN-200-PCI */ | ||
| 337 | CAN200PCI_VENDOR_ID, CAN200PCI_DEVICE_ID, | ||
| 338 | CAN200PCI_SUB_VENDOR_ID, CAN200PCI_SUB_DEVICE_ID, | ||
| 339 | 0, 0, | ||
| 340 | (kernel_ulong_t)&plx_pci_card_info_elcus | ||
| 341 | }, | ||
| 321 | { 0,} | 342 | { 0,} |
| 322 | }; | 343 | }; |
| 323 | MODULE_DEVICE_TABLE(pci, plx_pci_tbl); | 344 | MODULE_DEVICE_TABLE(pci, plx_pci_tbl); |
