-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Ben Hutchings
authored and
Greg Kroah-Hartman
committed
Nov 10, 2016
1 parent
baa8809
commit 6751667
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters