summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-07-14 20:18:51 +0400
committerDavid Vrabel <david.vrabel@citrix.com>2014-08-01 19:02:34 +0400
commit8b63c998b31c69fff2c8c8c7e543e3142d9eea71 (patch)
tree3f5cdbdc8f676a6de6d52d0fed85c9a2e77fe5f9
parent2ef760323a8a7ced5e1b2286c8df95226606a64e (diff)
downloadlinux-8b63c998b31c69fff2c8c8c7e543e3142d9eea71.tar.xz
xen-pciback: Document the 'quirks' sysfs file
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
-rw-r--r--Documentation/ABI/testing/sysfs-driver-pciback13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-pciback b/Documentation/ABI/testing/sysfs-driver-pciback
new file mode 100644
index 000000000000..6a733bfa37e6
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-driver-pciback
@@ -0,0 +1,13 @@
+What: /sys/bus/pci/drivers/pciback/quirks
+Date: Oct 2011
+KernelVersion: 3.1
+Contact: xen-devel@lists.xenproject.org
+Description:
+ If the permissive attribute is set, then writing a string in
+ the format of DDDD:BB:DD.F-REG:SIZE:MASK will allow the guest
+ to write and read from the PCI device. That is Domain:Bus:
+ Device.Function-Register:Size:Mask (Domain is optional).
+ For example:
+ #echo 00:19.0-E0:2:FF > /sys/bus/pci/drivers/pciback/quirks
+ will allow the guest to read and write to the configuration
+ register 0x0E.