]> git.baikalelectronics.ru Git - kernel.git/commit
libata-acpi: add ATA_FLAG_ACPI_SATA port flag
authorTejun Heo <htejun@gmail.com>
Mon, 14 May 2007 18:28:15 +0000 (03:28 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 16 May 2007 05:18:31 +0000 (01:18 -0400)
commit2e452dd418ed0b101a94fd2c3cdc75efe2fa89e8
treeac85dba0648f6e2be0d057b9afca926d97e24828
parent5aaca672c3faa0be1f1f5e4b957ba708daa7ed25
libata-acpi: add ATA_FLAG_ACPI_SATA port flag

Whether a controller needs IDE or SATA ACPI hierarchy is determined by
the programming interface of the controller not by whether the
controller is SATA or PATA, or it supports slave device or not.  This
patch adds ATA_FLAG_ACPI_SATA port flags which tells libata-acpi that
the port needs SATA ACPI nodes, and sets the flag for ahci and
sata_sil24.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c
drivers/ata/libata-acpi.c
drivers/ata/sata_sil24.c
include/linux/libata.h