Commit 8e783ab4 authored by Adam Wujek's avatar Adam Wujek 💬

changes for CTRIE PTS

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 08b08c1b
...@@ -70,6 +70,9 @@ static int spec_check_id(int bus, int dev) ...@@ -70,6 +70,9 @@ static int spec_check_id(int bus, int dev)
if (device== PCI_DEVICE_ID_SPEC && vendor== PCI_VENDOR_ID_CERN) if (device== PCI_DEVICE_ID_SPEC && vendor== PCI_VENDOR_ID_CERN)
return 1; return 1;
if (device== PCI_DEVICE_ID_CTRIE && vendor== PCI_VENDOR_ID_CERN)
return 1;
if (device== PCI_DEVICE_ID_GN4124 && vendor== PCI_VENDOR_ID_GENNUM) if (device== PCI_DEVICE_ID_GN4124 && vendor== PCI_VENDOR_ID_GENNUM)
return 1; return 1;
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#define PCI_DEVICE_ID_SPEC 0x018d #define PCI_DEVICE_ID_SPEC 0x018d
#define PCI_VENDOR_ID_GENNUM 0x1a39 #define PCI_VENDOR_ID_GENNUM 0x1a39
#define PCI_DEVICE_ID_GN4124 0x0004 #define PCI_DEVICE_ID_GN4124 0x0004
#define PCI_DEVICE_ID_CTRIE 0x01ae
/* 'Opens' the SPEC card at PCI bus [bus], device/function [dev]. /* 'Opens' the SPEC card at PCI bus [bus], device/function [dev].
Returns a handle to the card or NULL in case of failure. */ Returns a handle to the card or NULL in case of failure. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment