Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/amba/devices/.../driver_override
0002 Date:           September 2014
0003 Contact:        Antonios Motakis <a.motakis@virtualopensystems.com>
0004 Description:
0005                 This file allows the driver for a device to be specified which
0006                 will override standard OF, ACPI, ID table, and name matching.
0007                 When specified, only a driver with a name matching the value
0008                 written to driver_override will have an opportunity to bind to
0009                 the device. The override is specified by writing a string to the
0010                 driver_override file (echo vfio-amba > driver_override) and may
0011                 be cleared with an empty string (echo > driver_override).
0012                 This returns the device to standard matching rules binding.
0013                 Writing to driver_override does not automatically unbind the
0014                 device from its current driver or make any attempt to
0015                 automatically load the specified driver. If no driver with a
0016                 matching name is currently loaded in the kernel, the device will
0017                 not bind to any driver. This also allows devices to opt-out of
0018                 driver binding using a driver_override name such as "none".
0019                 Only a single driver may be specified in the override, there is
0020                 no support for parsing delimiters.