pcmcia - spot slave decode flaws (for testing)
authorAlan <alan@lxorguk.ukuu.org.uk>
Tue, 27 Mar 2007 05:43:34 +0000 (21:43 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:16:00 +0000 (14:16 -0400)
commit4dc5200d70a3e81510956c35fbb9fa3c15b440a5
treeb934cafd1657dc5035fecc154d043e4dad80a002
parent120bda35ff8514c937dac6d4e5c7dc6c01c699ac
pcmcia - spot slave decode flaws (for testing)

It tries to spot when the slave is a mirror of the master and to fix up
problems that causes.

I've got two confirmations so far that this plus the "can fail set_xfer" patch
work for folks who had problems before.  Also if you are unfortunate enough to
be running something like HAL then it'll automount the same disk twice for you
and corrupt it without the fix (aint that nice...)

Tested (successfully) by Komuro <komurojun-mbn@nifty.com>.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_pcmcia.c