From: Tejun Heo Date: Thu, 1 May 2008 01:03:08 +0000 (+0900) Subject: ata_piix: verify SIDPR access before enabling it X-Git-Tag: v2.6.26-rc2~59^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb6716c879ecf49e2af344926c6a476821812061;p=pandora-kernel.git ata_piix: verify SIDPR access before enabling it 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 Cc: Ryan Roth Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed