]> CyberLeo.Net >> Repos - FreeBSD/stable/8.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)
commit1965ee2dc17dfed9c6f4c58a8ce795822cabd4d2
treed48ca595056564a9e012c2a72fa5f237715e9649
parent89127898f0e9466fcbed3849d07298f745e46c95
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/8@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