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)
commit166a2967b45ede2e2e56f3ede3cd32053dc17812
treee1cb8b667281fc42512f1e4656292789e76bb5f3
parentb1354cbb5bfce28f2e1ed28d77b362dfdfca638d
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