CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/06/21 23:54:26
Modified files:
usr.sbin/pcidump: pcidump.c
Log message:
a first cut at requesting and parsing vpd info.
reading vpd stuff is useful when you're trying to get support
information about a pci device, eg, if you want a serial number,
or firmware versions, or specific part name or number, it's likely
available via vpd. also, im sick of having the diff in my tree.
this relies on the new PCIOCGETVPD ioctl i just committed to the
kernel.
it's a very quick and dirty implementation, hopefully someone will
pick it up and polish it a bit.
tested by hrvoje popovski on a variety of cards
ok jmatthew@