Complete the hotplug ABI document, and add SR-IOV HOWTO.
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
---
Documentation/ABI/testing/sysfs-bus-pci | 67 ++++++++++++
Documentation/DocBook/kernel-api.tmpl | 3 +
Documentation/PCI/pci-iov-howto.txt | 177 +++++++++++++++++++++++++++++++
3 files changed, 247 insertions(+), 0 deletions(-)
create mode 100644 Documentation/PCI/pci-iov-howto.txt
diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci
index ceddcff..374e87b 100644
--- a/Documentation/ABI/testing/sysfs-bus-pci
+++ b/Documentation/ABI/testing/sysfs-bus-pci
@@ -9,3 +9,70 @@ Description:
that some devices may have malformatted data. If the
underlying VPD has a writable section then the
corresponding section of this file will be writable.
+
+What: /sys/bus/pci/slots/.../power
+Date: Unknown
+Contact: linux-pci@vger.kernel.org
+Description:
+ This file will appear when PCI hotplug is enabled and
+ the hotplug driver supports this operation.
+ It indicates power status of a slot, and could be written
+ to enable or disable the slot.
+
+What: /sys/bus/pci/slots/.../attention
+Date: Unknown
+Contact: linux-pci@vger.kernel.org
+Description:
+ This file will appear when PCI hotplug is enabled and
+ the hotplug driver supports this operation.
+ It indicates attention LED status of a slot, and could
+ be written to set the LED status.
+
+What: /sys/bus/pci/slots/.../latch
+Date: Unknown
+Contact: linux-pci@vger.kernel.org
+Description:
+ This file will appear when PCI hotplug is enabled and
+ the hotplug driver supports this operation.
+ It indicates latch status of a slot.
+
+What: /sys/bus/pci/slots/.../adapter
+Date: Unknown
+Contact: linux-pci@vger.kernel.org
+Description:
+ This file will appear when PCI hotplug is enabled and
+ the hotplug driver supports this operation.
+ It indicates presence of the ...