]> git.baikalelectronics.ru Git - kernel.git/commit
libata: tell scsi layer device supports runtime power off
authorAaron Lu <aaron.lu@amd.com>
Mon, 25 Jun 2012 08:13:09 +0000 (16:13 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 29 Jun 2012 15:38:45 +0000 (11:38 -0400)
commit93f532b5613587aabc6d969c72b5c38624aa88c9
treee1cb8b667281fc42512f1e4656292789e76bb5f3
parent64ac08c359312184e5a8b1f1fd4924326aa0027f
libata: tell scsi layer device supports runtime power off

If ATA device supports "Device Attention", then tell scsi layer that
the device supports runtime power off.

Signed-off-by: Aaron Lu <aaron.lu@amd.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-acpi.c
include/scsi/scsi_device.h