From: Tejun Heo Date: Wed, 26 Mar 2008 06:46:58 +0000 (+0900) Subject: ata_piix: don't attach to ICH6M in ahci mode X-Git-Tag: v2.6.26-rc1~1150^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5016d7d212dbcc85cdc5130b1228d23f3423bd61;p=pandora-kernel.git ata_piix: don't attach to ICH6M in ahci mode ata_piix when attached to ICH6M in AHCI mode doesn't provide any benefit over using ahci and has detection problems. Don't let ata_piix claim ICH6M if it's in AHCI mode. This change makes ICH6R the only one which ata_piix can attach to even when it's in ahci mode which is necessary as some devices don't work properly under ahci mode. Drop PIIX_FLAG_AHCI and match the controller directly so that piix_disable_ahci() is called only for it. This change makes PIIX_SCC no longer used and it gets dropped too. This fixes bz 9491. Signed-off-by: Tejun Heo Cc: Robert M. Albrecht Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed