commit | 71601958f73b952281f2b02e16d1f11c99ee0a8b | [log] [tgz] |
---|---|---|
author | Albert Lee <albertcc@tw.ibm.com> | Sat Mar 25 18:11:12 2006 +0800 |
committer | Jeff Garzik <jeff@garzik.org> | Wed Mar 29 17:22:36 2006 -0500 |
tree | 87d7c55a27f0553f901b0c3ef4dfef792a3f946c | |
parent | 999bb6f4260f9499fdeab3f8fdcd8b9013eca39e [diff] |
[PATCH] libata-dev: fix the device err check sequence (respin) Current irq-pio checks ERR bit and stops on ERR before it does anything else. This behavior doesn't look right. The DRQ bit should take higher precedence than the ERR bit. Changes: - Let the HSM do the data transfer whenever the device asks for DRQ bit, even if the ERR bit is set. - For DRQ=1 ERR=1, don't trust the data Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>