]> err.no Git - linux-2.6/commit
libata-acpi: add ACPI _PSx method
authorShaohua Li <shaohua.li@intel.com>
Fri, 2 Nov 2007 01:32:38 +0000 (09:32 +0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:09 +0000 (05:24 -0500)
commitbd3adca52bc43b72c75db3e4c7809d47923b154c
treeec42456926e50a4b0adf916ac1c5f39f76e057f8
parentae8d4ee7ff429136c8b482c3b38ed994c021d3fc
libata-acpi: add ACPI _PSx method

ACPI spec (ver 3.0a, p289) requires IDE power on/off executes ACPI _PSx
methods. As recently most PATA drivers use libata, this patch adds _PSx
method support in libata. ACPI spec doesn't mention if SATA requires the
same _PSx method.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-acpi.c
drivers/ata/libata-eh.c
drivers/ata/libata.h