Commit cc583db3 authored by Paul Bolle's avatar Paul Bolle Committed by Greg Kroah-Hartman

Documentation: sysfs-bus-usb: update power/persist description

There's no power/persist file for hubs. And CONFIG_USB_PERSIST was
removed in v2.6.26. Update the description of power/persist accordingly.
Also remove the line on its default value. It is not entirely correct, as
CONFIG_USB_DEFAULT_PERSIST and the USB_QUIRK_RESET flag influence the
default. It is not needed to understand this file anyhow.
Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c0f3695
...@@ -3,13 +3,13 @@ Date: May 2007 ...@@ -3,13 +3,13 @@ Date: May 2007
KernelVersion: 2.6.23 KernelVersion: 2.6.23
Contact: Alan Stern <stern@rowland.harvard.edu> Contact: Alan Stern <stern@rowland.harvard.edu>
Description: Description:
If CONFIG_USB_PERSIST is set, then each USB device directory USB device directories can contain a file named power/persist.
will contain a file named power/persist. The file holds a The file holds a boolean value (0 or 1) indicating whether or
boolean value (0 or 1) indicating whether or not the not the "USB-Persist" facility is enabled for the device. For
"USB-Persist" facility is enabled for the device. Since the hubs this facility is always enabled and their device
facility is inherently dangerous, it is disabled by default directories will not contain this file.
for all devices except hubs. For more information, see
Documentation/usb/persist.txt. For more information, see Documentation/usb/persist.txt.
What: /sys/bus/usb/devices/.../power/autosuspend What: /sys/bus/usb/devices/.../power/autosuspend
Date: March 2007 Date: March 2007
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment