summaryrefslogtreecommitdiffstats
path: root/cpukit/libpci
diff options
context:
space:
mode:
authorJavier Jalle <javier.jalle@gaisler.com>2017-01-31 10:13:41 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2017-05-02 12:34:44 +0200
commit61788e76b91578ff400a77dc99720b355ac51674 (patch)
treeac76aa5d55fbc52f9d3b289787af02a2404e4e74 /cpukit/libpci
parentshell: Fix format specifiers (diff)
downloadrtems-61788e76b91578ff400a77dc99720b355ac51674.tar.bz2
leon, GR-CPCI-GR740: Added peripheral PCI driver
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 a7d2bc5ec1..0b85fe2764 100644
--- a/cpukit/libpci/pci/ids_extra.h
+++ b/cpukit/libpci/pci/ids_extra.h
@@ -19,3 +19,4 @@
#define PCIID_DEVICE_GR_RASTA_SPW_RTR 0x0062 /* GR-RASTA-SPW-ROUTER */
#define PCIID_DEVICE_GR_LEON4_N2X 0x0061 /* GR-CPCI-LEON4-N2X */
#define PCIID_DEVICE_GR_NGMP_PROTO 0x0064 /* GR-NGMP_PROTO */
+#define PCIID_DEVICE_GR_CPCI_GR740 0x0740 /* GR-CPCI-GR740 */
diff --git a/cpukit/libpci/pci_bus.h b/cpukit/libpci/pci_bus.h
index 7a4e25318c..b426010da5 100644
--- a/cpukit/libpci/pci_bus.h
+++ b/cpukit/libpci/pci_bus.h
@@ -47,6 +47,7 @@ extern "C" {
#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)
+#define DRIVER_PCI_GAISLER_CPCI_GR740_ID DRIVER_PCI_ID(PCIID_VENDOR_GAISLER, PCIID_DEVICE_GR_CPCI_GR740)
struct pci_dev_id {
uint16_t vendor;