summaryrefslogtreecommitdiffstats
path: root/cpukit/libpci
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2013-05-08 14:41:13 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2015-04-17 01:10:19 +0200
commitffd8002dbd89aa923c3ee962ca20c11ecc220bc1 (patch)
treeec37b4a0a6f89ad7c59d6442018400c45bf58175 /cpukit/libpci
parentGRPCI2: updated register layout to newer specification (diff)
downloadrtems-ffd8002dbd89aa923c3ee962ca20c11ecc220bc1.tar.bz2
GR-CPCI-LEON4-N2X: added PCI peripheral driver for PCI device
Interrupts have not been test yet
Diffstat (limited to 'cpukit/libpci')
-rw-r--r--cpukit/libpci/pci/ids_extra.h1
-rw-r--r--cpukit/libpci/pci_bus.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libpci/pci/ids_extra.h b/cpukit/libpci/pci/ids_extra.h
index ffa18cb271..bce41c2b64 100644
--- a/cpukit/libpci/pci/ids_extra.h
+++ b/cpukit/libpci/pci/ids_extra.h
@@ -17,3 +17,4 @@
#define PCIID_DEVICE_GR_701 0x0701 /* GR-701 */
#define PCIID_DEVICE_GR_TMTC_1553 0x0198 /* GR-TMTC-1553 */
#define PCIID_DEVICE_GR_RASTA_SPW_RTR 0x0062 /* GR-RASTA-SPW-ROUTER */
+#define PCIID_DEVICE_GR_LEON4_N2X 0x0061 /* GR-CPCI-LEON4-N2X */
diff --git a/cpukit/libpci/pci_bus.h b/cpukit/libpci/pci_bus.h
index f96631f6e5..012f421845 100644
--- a/cpukit/libpci/pci_bus.h
+++ b/cpukit/libpci/pci_bus.h
@@ -46,6 +46,7 @@ extern "C" {
#define DRIVER_PCI_GAISLER_RASTAADCDAC_ID DRIVER_PCI_ID(PCIID_VENDOR_GAISLER, PCIID_DEVICE_GR_RASTA_ADCDAC)
#define DRIVER_PCI_GAISLER_TMTC_1553_ID DRIVER_PCI_ID(PCIID_VENDOR_GAISLER, PCIID_DEVICE_GR_TMTC_1553)
#define DRIVER_PCI_GAISLER_RASTA_SPW_ROUTER_ID DRIVER_PCI_ID(PCIID_VENDOR_GAISLER, PCIID_DEVICE_GR_RASTA_SPW_RTR)
+#define DRIVER_PCI_GAISLER_LEON4_N2X_ID DRIVER_PCI_ID(PCIID_VENDOR_GAISLER, PCIID_DEVICE_GR_LEON4_N2X)
struct pci_dev_id {
uint16_t vendor;