libata-pmp: extend ACPI support to cover PMP
authorTejun Heo <htejun@gmail.com>
Sun, 23 Sep 2007 04:19:54 +0000 (13:19 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:44 +0000 (14:55 -0400)
commitd0df8b5d0fb547a3351c2a4b1ded7f7cde5d713a
treea2005ec3be6e493844b092edeca9306fbc70f4b8
parent633273a3ed1cf37ced90475b0f95cf81deab04f1
libata-pmp: extend ACPI support to cover PMP

Extend ata_acpi_associate_sata_port() such that it can handle PMP and
call it when PMP is attached and detached.

Build breakage when !CONFIG_ATA_ACPI was spotted and fixed by Petr
Vandrovec.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-acpi.c
drivers/ata/libata-pmp.c
drivers/ata/libata.h