Access pci devices' serial numbers programmatically

John Baldwin jhb at freebsd.org
Mon Jan 13 20:19:23 UTC 2014


On Sunday, January 12, 2014 3:32:25 am Nomad Esst wrote:
> Hi list
> Any experiences on how to do so? Please tell me if you know how can I do 
that?

There are methods available to query VPD data in dev/pci/pcivar.h if the
serial number is stored in VPD (specifically you can call 
pci_get_vpd_readonly()).

-- 
John Baldwin


More information about the freebsd-drivers mailing list