aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_rz1000.c
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2011-03-09 02:17:18 -0500
committerJeff Garzik <jgarzik@pobox.com>2011-03-14 03:04:49 -0400
commit4ac7534a7ff1aa1b1486e39bdf169aaa8a9bb3e2 (patch)
tree5fe796b9b8e872644d9212db4af30016690f8a39 /drivers/ata/pata_rz1000.c
parent6b3b9d73e08d8939aaf54f85bb47495171f49e20 (diff)
sata_fsl: Fix wrong Device Error Register usage
When a single device error is detected, the device under the error is indicated by the error bit set in the DER. There is a one to one mapping between register bit and devices on Port multiplier(PMP) i.e. bit 0 represents PMP device 0 and bit 1 represents PMP device 1 etc. Current implementation treats Device error register value as device number not set of bits representing multiple device on PMP. It is changed to consider bit level. No need to check for each set bit as all command is going to be aborted. Signed-off-by: Ashish Kalra <B00888@freescale.com> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/ata/pata_rz1000.c')
0 files changed, 0 insertions, 0 deletions