mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 03:11:46 +00:00
94e6108803
Vital Product Data (VPD) may be exposed by PCI devices in several ways. It is generally unsafe to read this information through the existing interfaces to user-land because of stateful interfaces. This adds: - abstract operations for VPD access (struct pci_vpd_ops) - VPD state information in struct pci_dev (struct pci_vpd) - an implementation of the VPD access method specified in PCI 2.2 (in access.c) - a 'vpd' binary file in sysfs directories for PCI devices with VPD operations defined It adds a probe for PCI 2.2 VPD in pci_scan_device() and release of VPD state in pci_release_dev(). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
debugfs-pktcdvd | ||
procfs-diskstats | ||
sysfs-block | ||
sysfs-bus-pci | ||
sysfs-bus-usb | ||
sysfs-class | ||
sysfs-class-pktcdvd | ||
sysfs-devices | ||
sysfs-firmware-acpi | ||
sysfs-kernel-uids | ||
sysfs-ocfs2 | ||
sysfs-power |