aboutsummaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2011-12-05 09:20:23 +0800
committerJeff Garzik <jgarzik@redhat.com>2012-01-08 19:14:57 -0500
commit9a6d6a2ddabbd32c07f6a38b659e5f3db319fa5a (patch)
tree4501e80654ad8adb928ec575f2cd866c15ba87db /include/scsi
parent7faa33da9b7add01db9f1ad92c6a5d9145e940a7 (diff)
ata: make ata port as parent device of scsi host
Currently, the device tree of ata port and scsi host looks as below, /sys/devices/pci0000:00/0000:00:1f.2 (ahci controller) |-- ata1 (ata port) |-- host0 (scsi host) |-- target0:0:0 (scsi target) |-- 0:0:0:0 (disk) This patch makes ata port as parent device of scsi host, then it becomes /sys/devices/pci0000:00/0000:00:1f.2 (ahci controller) |-- ata1 (ata port) |-- host0 (scsi host) |-- target0:0:0 (scsi target) |-- 0:0:0:0 (disk) With this change, the ata port runtime PM is easier. For example, the ata port runtime suspend will happen as, disk suspend --> scsi target suspend --> scsi host suspend --> ata port suspend. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions