summaryrefslogtreecommitdiff
path: root/commands/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 86e4714849..69d76a9c80 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -75,6 +75,19 @@ config CMD_DEVINFO
If called with a device path being the argument, devinfo shows more
default information about this device and its parameters.
+config CMD_DEVLOOKUP
+ tristate
+ prompt "devlookup"
+ help
+ Look up device behind device file and its parameters
+
+ devlookup [-v VAR] /dev/DEVICE [parameter]
+
+ Detects the device behind a device file and outputs it,
+ unless a second argument is given. In that case the device
+ parameter with that name is looked up. Specifying -v VARIABLE
+ will write output to VARIABLE instead of printing it.
+
config CMD_DEVUNBIND
tristate
prompt "devunbind"