Dissecting information from pciconf

paul at tmp.group paul at tmp.group
Tue May 23 16:34:33 UTC 2017


Good day all,

I do hope I chose the right list for this particular question, but I was hoping someone could fill me in on where pciconf derives the ‘hdr=’ information it displays in ‘pciconf -l’; I am working on a cross platform solution for mapping hardware support on various OS, but I wish to start with FreeBSD.

That being said the ‘key’ for hardware in my database must logically be based off information retrieved from pciconf or lspci depending which OS it is; so far the keyable fields I have found are.
• CLASS, 0x0200000 0x[0200][0000] (This 0000 seems permenantly unused)
• CARD, 0x001e8086 0x[001e][8086] (SDevice SVendor)
• CHIP, 0x100e80860 0x[100e][0860] (Device Vendor)
• REV(ision) 0x02 0x[02] Ref, the revision
• HDR(Header) 0x00 0x[00] Header ... that only appears to exist on FreeBSD
HDR is the tricky one, would I correct in believing, that if I had a cardbus Ethernet card and a pci version of the same type, every detail would be identical EXCEPT the HDR?

Or is it literally just an informatics value that can be ignored in generation of a cross system hardware database? 

Sent from Mail for Windows 10



More information about the freebsd-hardware mailing list