Commit 3afdfcba authored by Federico Vaga's avatar Federico Vaga

lib: detect 100T spec variant

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 92f3a560
......@@ -67,9 +67,10 @@ static int spec_check_id(int bus, int dev)
fscanf(f, "%x", &vendor);
fclose(f);
if (device== PCI_DEVICE_ID_SPEC && vendor== PCI_VENDOR_ID_CERN)
if (vendor== PCI_VENDOR_ID_CERN && device== PCI_DEVICE_ID_SPEC_45T)
return 1;
if (vendor== PCI_VENDOR_ID_CERN && device== PCI_DEVICE_ID_SPEC_100T)
return 1;
if (device== PCI_DEVICE_ID_GN4124 && vendor== PCI_VENDOR_ID_GENNUM)
return 1;
......
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