Thread (1 message) 1 message, 1 author, 2008-01-08

Re: [RFC] Implementation of SCSI dynamic power management

From: Oliver Neukum <oliver@neukum.org>
Date: 2008-01-08 14:12:55

Am Montag, 7. Januar 2008 20:42:23 schrieb Alan Stern:
 /**
+ *     autoresume - perform dynamic (runtime) host resume
+ *     @shp: host to resume
+ *
+ *     Resume (return to an operational power level) the specified host.
+ *     Return 0 if the resume was successful, otherwise a negative
+ *     error code.
+ *
+ *     Locks: struct Scsi_Host::pm_mutex held throughout the call.
+ *
+ *     Calling context: process
+ *
+ *     Notes: If the host is not currently suspended, this method does
+ *     need to do anything.
+ *
+ *     Optionally defined in: LLD
+ **/
+    int autoresume(struct Scsi_Host *shp)
+
This seems to be a bit misleading. It seems to me that you must cancel
any outstanding request to autosuspend from other layers.

	Regards
		Oliver
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help