Commit | Line | Data |
---|---|---|
3d713e0e KP |
1 | What: /sys/bus/platform/devices/.../driver_override |
2 | Date: April 2014 | |
3 | Contact: Kim Phillips <kim.phillips@freescale.com> | |
4 | Description: | |
5 | This file allows the driver for a device to be specified which | |
6 | will override standard OF, ACPI, ID table, and name matching. | |
7 | When specified, only a driver with a name matching the value | |
8 | written to driver_override will have an opportunity to bind | |
9 | to the device. The override is specified by writing a string | |
10 | to the driver_override file (echo vfio-platform > \ | |
11 | driver_override) and may be cleared with an empty string | |
12 | (echo > driver_override). This returns the device to standard | |
13 | matching rules binding. Writing to driver_override does not | |
14 | automatically unbind the device from its current driver or make | |
15 | any attempt to automatically load the specified driver. If no | |
16 | driver with a matching name is currently loaded in the kernel, | |
17 | the device will not bind to any driver. This also allows | |
18 | devices to opt-out of driver binding using a driver_override | |
19 | name such as "none". Only a single driver may be specified in | |
20 | the override, there is no support for parsing delimiters. |