]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 260926:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Feb 2014 22:19:49 +0000 (22:19 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Feb 2014 22:19:49 +0000 (22:19 +0000)
commitc7525b9b827a3f85691f4f8847e83a7e327a7cbd
tree813983fd35b494e0597706a51217b6688b64e517
parenta14a86cc809847e8041976a50be13e6f8cbc7389
MFC 260926:
Add support for displaying VPD for PCI devices via pciconf.
- Store the length of each read-only VPD value since not all values are
  guaranteed to be ASCII values (though most are).
- Add a new pciio ioctl to fetch VPD for a single PCI device.  The values
  are returned as a list of variable length records, one for the device
  name and each keyword.
- Add a new -V flag to pciconf's list mode which displays VPD data for
  each device.

git-svn-id: svn://svn.freebsd.org/base/stable/10@262134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/pci/pci.c
sys/dev/pci/pci_user.c
sys/dev/pci/pcivar.h
sys/sys/pciio.h
usr.sbin/pciconf/pciconf.8
usr.sbin/pciconf/pciconf.c