aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/xend-pci-permissive.sxp
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-07-28 12:59:48 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-07-28 12:59:48 +0100
commit3b71aa2851c9c93dafe8250b78c21b4472410e44 (patch)
tree7c605ed47e715048a5b8c84458006bf3229c22ea /tools/examples/xend-pci-permissive.sxp
parent2b9c0e336cf1ee6e5bfd0c3574b873535b671288 (diff)
downloadxen-3b71aa2851c9c93dafe8250b78c21b4472410e44.tar.gz
xen-3b71aa2851c9c93dafe8250b78c21b4472410e44.tar.bz2
xen-3b71aa2851c9c93dafe8250b78c21b4472410e44.zip
[PCI] Two policy files written in what is intended to be human-readable SXP.
1. xend-pci-quirks.sxp: Specifies which PCI device(s) may write to a set of PCI configuration space registers. A quirky PCI device is identified by its vendor ID, device ID, subvendor ID, and subdevice ID. If a matching entry is found, the corresponding fields will be sent to the PCI bus manager. Fields are composed of a register, size, and mask -- although the mask field is currently unused. The included policy file is for a range of tg3 devices, which is the only type of quirky device I know about. Users with other quirky devices are invited to either add entries to this policy file or add an entry in the permissive file, described next. In either case, send an email to the xen-devel list to make the device known. 2. xend-pci-permissive.sxp Lists PCI devices that pciback should not prevent from writing to their configuration space. This can be necessary if, for example, a new Tigon3 devices is released with different PCI vendor/device values such that no entry in xend-pci-quirks.sxp is triggered. Signed-off-by: Chris Bookholt <hap10@tycho.ncsc.mil>
Diffstat (limited to 'tools/examples/xend-pci-permissive.sxp')
-rw-r--r--tools/examples/xend-pci-permissive.sxp27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/examples/xend-pci-permissive.sxp b/tools/examples/xend-pci-permissive.sxp
new file mode 100644
index 0000000000..1a3fb90a04
--- /dev/null
+++ b/tools/examples/xend-pci-permissive.sxp
@@ -0,0 +1,27 @@
+###############################################################################
+# Configuration file for granting quiry PCI devices full write access to their
+# configuration space. This file should only be used when you are unable to
+# determine the exact registers required by your device. Even so, it should
+# be used only temporarily.
+#
+# SEND A MESSAGE TO xen-devel@lists.xensource.com IF YOU USE THIS FILE.
+#
+# Using this file should NOT be necessary. If you must use it to make some
+# device work, send a message to the above list with as much information about
+# your device as possible so the developers can make accomodations for it.
+# Once developers make the necessary updates you can remove the corresponding
+# entry for your device.
+###############################################################################
+# Entries are formated as follows: <vendor>:<device>[:<subvendor>:<subdevice>]
+#
+# Example: Appending to an existing list
+#
+# (unconstrained_dev_ids
+# ('XXXX:XXXX:XXXX:XXXX' # existing entry
+# 'YYYY:YYYY:YYYY:YYYY' # new entry 1
+# 'ZZZZ:ZZZZ') # new entry 2
+# )
+###############################################################################
+(unconstrained_dev_ids
+ #('0123:4567:89AB:CDEF')
+)