Is it one if the 'enum enPCIConfigSpace' tag? Os I can query like 'dev->ReadConfigWord()/Byte()'
Right now I have (Slot values are always 0, just plain printf("00:00:00")):
Code: Select all
#lspci v
## Ven Dev Description
02 1095 3114 Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller
IOBase : 0:0x00001000; 1:0x00001008; 2:0x00001010; 3:0x00001018; 4:0x00001020; 5:0x80000000
Slot : 00:00:00
Class : Base:0x01 Sub:0x04 IFace:0x00
Revision : 0x02
Interrupt: Line:0x20 Pin:0x01
...