summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2016-08-16 14:34:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-10 17:22:23 +0100
commit6751667a29d6fd64afb9ce30567ad616b68ed789 (patch)
tree128403d3fb1187222f340b3676310ef376d17699 /Documentation/ABI
parentbaa8809f60971d10220dfe79248f54b2b265f003 (diff)
downloadlinux-6751667a29d6fd64afb9ce30567ad616b68ed789.tar.gz
linux-6751667a29d6fd64afb9ce30567ad616b68ed789.tar.bz2
linux-6751667a29d6fd64afb9ce30567ad616b68ed789.zip
driver core: Add deferred_probe attribute to devices in sysfs
It is sometimes useful to know that a device is on the deferred probe list rather than, say, not having a driver available. Expose this information to user-space. Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-devices-deferred_probe12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-deferred_probe b/Documentation/ABI/testing/sysfs-devices-deferred_probe
new file mode 100644
index 000000000000..58553d7a321f
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-devices-deferred_probe
@@ -0,0 +1,12 @@
+What: /sys/devices/.../deferred_probe
+Date: August 2016
+Contact: Ben Hutchings <ben.hutchings@codethink.co.uk>
+Description:
+ The /sys/devices/.../deferred_probe attribute is
+ present for all devices. If a driver detects during
+ probing a device that a related device is not yet
+ ready, it may defer probing of the first device. The
+ kernel will retry probing the first device after any
+ other device is successfully probed. This attribute
+ reads as 1 if probing of this device is currently
+ deferred, or 0 otherwise.