diff options
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-pci | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index ab8d76dfaa80..6615fda0abfb 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci | |||
@@ -250,3 +250,24 @@ Description: | |||
250 | valid. For example, writing a 2 to this file when sriov_numvfs | 250 | valid. For example, writing a 2 to this file when sriov_numvfs |
251 | is not 0 and not 2 already will return an error. Writing a 10 | 251 | is not 0 and not 2 already will return an error. Writing a 10 |
252 | when the value of sriov_totalvfs is 8 will return an error. | 252 | when the value of sriov_totalvfs is 8 will return an error. |
253 | |||
254 | What: /sys/bus/pci/devices/.../driver_override | ||
255 | Date: April 2014 | ||
256 | Contact: Alex Williamson <alex.williamson@redhat.com> | ||
257 | Description: | ||
258 | This file allows the driver for a device to be specified which | ||
259 | will override standard static and dynamic ID matching. When | ||
260 | specified, only a driver with a name matching the value written | ||
261 | to driver_override will have an opportunity to bind to the | ||
262 | device. The override is specified by writing a string to the | ||
263 | driver_override file (echo pci-stub > driver_override) and | ||
264 | may be cleared with an empty string (echo > driver_override). | ||
265 | This returns the device to standard matching rules binding. | ||
266 | Writing to driver_override does not automatically unbind the | ||
267 | device from its current driver or make any attempt to | ||
268 | automatically load the specified driver. If no driver with a | ||
269 | matching name is currently loaded in the kernel, the device | ||
270 | will not bind to any driver. This also allows devices to | ||
271 | opt-out of driver binding using a driver_override name such as | ||
272 | "none". Only a single driver may be specified in the override, | ||
273 | there is no support for parsing delimiters. | ||