Commit ced185bd authored by jan.koester's avatar jan.koester
Browse files

final fix now on level 6.6.16

parent 82dbbe70
Loading
Loading
Loading
Loading
+24 −2
Original line number Diff line number Diff line
@@ -162,8 +162,30 @@ struct scsi_device {
				 * core. */
	unsigned int eh_timeout; /* Error handling timeout */

	bool manage_system_start_stop; /* Let HLD (sd) manage system start/stop */
	bool manage_runtime_start_stop; /* Let HLD (sd) manage runtime start/stop */
	/*
	 * If true, let the high-level device driver (sd) manage the device
	 * power state for system suspend/resume (suspend to RAM and
	 * hibernation) operations.
	 */
	unsigned manage_system_start_stop:1;

	/*
	 * If true, let the high-level device driver (sd) manage the device
	 * power state for runtime device suspand and resume operations.
	 */
	unsigned manage_runtime_start_stop:1;

	/*
	 * If true, let the high-level device driver (sd) manage the device
	 * power state for system shutdown (power off) operations.
	 */
	unsigned manage_shutdown:1;

	/*
	 * If set and if the device is runtime suspended, ask the high-level
	 * device driver (sd) to force a runtime resume of the device.
	 */
	unsigned force_runtime_start_on_system_start:1;

	unsigned removable:1;
	unsigned changed:1;	/* Data invalid due to media change */