ahci: don't attach if ICH6 is in combined mode
authorTejun Heo <htejun@gmail.com>
Thu, 6 Dec 2007 06:09:43 +0000 (15:09 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 7 Dec 2007 20:27:54 +0000 (15:27 -0500)
commitc4f7792c021cda9bbf65d0bc2253a593fd652b91
treee0c727ba1bc934a8cbc58515c5b33e16eecde8a2
parentd1aa690a7d1afa673c3383bfcd6e96ddb350939a
ahci: don't attach if ICH6 is in combined mode

ICH6 R/Ms share PCI ID between piix and ahci modes and we've been
allowing ahci to attach regardless of how BIOS configured it.
However, enabling AHCI mode when the controller is in combined mode
can result in unexpected behavior.  Don't attach if the controller is
in combined mode.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Bill Nottingham <notting@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c