]> git.baikalelectronics.ru Git - kernel.git/commit
[libata] sata_mv: errata check buglet fix
authorAndres Salomon <dilinger@debian.org>
Mon, 11 Sep 2006 12:51:05 +0000 (08:51 -0400)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Sep 2006 12:51:05 +0000 (08:51 -0400)
commit1781f1d71be1392632c108b8c6c8406f85558b3a
treeb3842135c320101acdd8c457459786537b9ed4ed
parent9a82de2a83bd851413662695dd48974b7ad3c604
[libata] sata_mv: errata check buglet fix

Fix a buglet; the errata check below this code is assuming the value in
the sstatus variable is what was pulled out of the SCR_STATUS register.
However, the status checks in the timeout loop clobber everything
but the first 4 bits of sstatus, so the errata checks are invalid.

This patch changes it to not clobber SStatus.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/sata_mv.c