mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Add power_status to SES device slot, so we can power on/off the HDDs behind the enclosure. Check firmware status in ses_set_* before sending control pages to firmware. Signed-off-by: Song Liu <[email protected]> Acked-by: Dan Williams <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Cc: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>