]> git.baikalelectronics.ru Git - kernel.git/commit
ata_piix: fix macbook ich8m problems
authorTejun Heo <htejun@gmail.com>
Thu, 29 May 2008 13:04:22 +0000 (22:04 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 30 May 2008 16:37:29 +0000 (12:37 -0400)
commit73ae0da3a795446eb202641c602ebf5cbe6ecd61
tree6b3a9089b09e3e6bd835d7e3855911df57417921
parent55fc7fecb8bac7886fdad58c2e395674c6fb71d9
ata_piix: fix macbook ich8m problems

ICH8M on macbooks are peculiar in that some of them lock up when the
second port is enabled, some return bogus values on SIDPR access while
yet others hang on SIDPR access.  Also, the ich8m_apple_sata entry was
wrongly added below generic ich8m entry making it virtually useless.

This patch works around macbook ich8m problems by

* moving ich8m_apple_sata entry above generic ich8m entry
* dropping PIIX_FLAG_SIDPR from ich8m_apple_sata
* adding subsystem 106b:00a1 as ich8m_apple_sata

Reported and tested by MATSUBAYASHI.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ata_piix.c