]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22590b13ebd10f48f9cf42115436ec95ca735b04
treee0c727ba1bc934a8cbc58515c5b33e16eecde8a2
parent6008db7c129fc03ec27be1a2f8930166ebb12d69
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