]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ata_piix: verify SIDPR access before enabling it
authorTejun Heo <htejun@gmail.com>
Tue, 13 May 2008 08:23:38 +0000 (17:23 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 15 May 2008 14:50:04 +0000 (07:50 -0700)
commit0bd377504a5c62a307159a70320dab55382bf622
tree828b1dafac2f263ced362d76e7b94460a4eb7f01
parent6f01b186b0b6a97707dfa547b03cfadc54a045f1
ata_piix: verify SIDPR access before enabling it

commit cb6716c879ecf49e2af344926c6a476821812061 upstream

On certain configurations (certain macbooks), even though all the
conditions for SIDPR access described in the datasheet are met,
actually reading those registers just returns 0 and have no effect on
write.  Verify SIDPR is actually working before enabling it.

This is reported by Ryan Roth in bz#10512.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Ryan Roth <ryan.roth@ch2m.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/ata_piix.c