diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2008-05-03 00:13:39 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-06 17:43:44 +0200 |
commit | 05177f178efe1459d2d0ac05430027ba201889a4 (patch) | |
tree | 5102edb75980d79c352965f451ee91b8410ac4e5 /drivers/ata/pata_amd.c | |
parent | sata_inic162x: update intro comment, up the version and drop EXPERIMENTAL (diff) | |
download | linux-05177f178efe1459d2d0ac05430027ba201889a4.tar.xz linux-05177f178efe1459d2d0ac05430027ba201889a4.zip |
pata_atiixp: Don't disable
A couple of distributions (Fedora, Ubuntu) were having weird problems with the
ATI IXP series PATA controllers being reported as simplex. At the heart of
the problem is that both distros ignored the recommendations to load pata_acpi
and ata_generic *AFTER* specific host drivers.
The underlying cause however is that if you D3 and then D0 an ATI IXP it
helpfully throws away some configuration and won't let you rewrite it.
Add checks to ata_generic and pata_acpi to pin ATIIXP devices. Possibly the
real answer here is to quirk them and pin them, but right now we can't do that
before they've been pcim_enable()'d by a driver.
I'm indebted to David Gero for this. His bug report not only reported the
problem but identified the cause correctly and he had tested the right values
to prove what was going on
[If you backport this for 2.6.24 you will need to pull in the 2.6.25
removal of the bogus WARN_ON() in pcim_enagle]
Signed-off-by: Alan Cox <alan@redhat.com>
Tested-by: David Gero <davidg@havidave.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_amd.c')
0 files changed, 0 insertions, 0 deletions