Loading include/scsi/scsi_device.h +24 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading Loading
include/scsi/scsi_device.h +24 −2 Original line number Diff line number Diff line Loading @@ -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 */ Loading