Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/vmbus/devices/.../driver_override
0002 Date:           August 2019
0003 Contact:        Stephen Hemminger <sthemmin@microsoft.com>
0004 Description:
0005                 This file allows the driver for a device to be specified which
0006                 will override standard static and dynamic ID matching.  When
0007                 specified, only a driver with a name matching the value written
0008                 to driver_override will have an opportunity to bind to the
0009                 device.  The override is specified by writing a string to the
0010                 driver_override file (echo uio_hv_generic > driver_override) and
0011                 may 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
0017                 will not bind to any driver.  This also allows devices to
0018                 opt-out of driver binding using a driver_override name such as
0019                 "none".  Only a single driver may be specified in the override,
0020                 there is no support for parsing delimiters.
0021