#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/can/dev.h>
#include <linux/io.h>
#include "sja1000.h"
Go to the source code of this file.
#define ADLINK_PCI_DEVICE_ID 0x7841 |
#define ADLINK_PCI_VENDOR_ID 0x144A |
#define DRV_NAME "sja1000_plx_pci" |
#define ESD_PCI_SUB_SYS_ID_CPCI200 0x010b |
#define ESD_PCI_SUB_SYS_ID_PCI104200 0x0501 |
#define ESD_PCI_SUB_SYS_ID_PCI200 0x0004 |
#define ESD_PCI_SUB_SYS_ID_PCI266 0x0009 |
#define ESD_PCI_SUB_SYS_ID_PCIE2000 0x0200 |
#define ESD_PCI_SUB_SYS_ID_PMC266 0x000e |
#define IXXAT_PCI_DEVICE_ID 0x9050 |
#define IXXAT_PCI_SUB_SYS_ID 0x2540 |
#define IXXAT_PCI_VENDOR_ID 0x10b5 |
#define MARATHON_PCI_DEVICE_ID 0x2715 |
#define PLX9056_CNTRL 0x6c /* Control / Software Reset */ |
#define PLX9056_INTCSR 0x68 /* Interrupt Control/Status */ |
#define PLX9056_LINTI (1 << 11) |
#define PLX9056_PCI_INT_EN (1 << 8) |
#define PLX_INTCSR 0x4c /* Interrupt Control/Status */ |
#define PLX_LINT1_EN 0x1 /* Local interrupt 1 enable */ |
#define PLX_PCI_CAN_CLOCK (16000000 / 2) |
#define PLX_PCI_INT_EN (1 << 6) /* PCI Interrupt Enable */ |
#define PLX_PCI_MAX_CHAN 2 |
#define REG_CR_BASICCAN_INITIAL 0x21 |
#define REG_CR_BASICCAN_INITIAL_MASK 0xa1 |
#define REG_IR_BASICCAN_INITIAL 0xe0 |
#define REG_IR_PELICAN_INITIAL 0x00 |
#define REG_MOD_PELICAN_INITIAL 0x01 |
#define REG_SR_BASICCAN_INITIAL 0x0c |
#define REG_SR_PELICAN_INITIAL 0x3c |
#define TEWS_PCI_DEVICE_ID_TMPC810 0x032A |
#define TEWS_PCI_VENDOR_ID 0x1498 |
MODULE_AUTHOR |
( |
"Pavel Cheblakov <P.B.Cheblakov@inp.nsk.su>" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
plx_pci_tbl |
|
|
) |
| |
module_pci_driver |
( |
plx_pci_driver |
| ) |
|
MODULE_SUPPORTED_DEVICE |
( |
"Adlink PCI-7841/cPCI- |
7841, |
|
|
""Adlink PCI-7841/cPCI-7841 |
SE, |
|
|
""Marathon CAN-bus- |
PCI, |
|
|
""TEWS TECHNOLOGIES |
TPMC810, |
|
|
""esd CAN-PCI/CPCI/PCI104/ |
200, |
|
|
""esd CAN-PCI/PMC/ |
266, |
|
|
""esd CAN-PCIe/ |
2000, |
|
|
""IXXAT PC-I 04/PCI" |
|
|
) |
| |