From: Albert Lee Date: Fri, 19 May 2006 03:43:04 +0000 (+0800) Subject: [PATCH] libata: Fix the HSM error_mask mapping (was: Re: libata-tj and SMART) X-Git-Tag: v2.6.18-rc1~1079^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3655d1d323386e001c786af10f0a3f39f438f03b;p=pandora-kernel.git [PATCH] libata: Fix the HSM error_mask mapping (was: Re: libata-tj and SMART) Fix the HSM error_mask mapping. Changes: - Better mapping in ac_err_mask() - In HSM_ST_FIRST ans HSM_ST state, check ATA_ERR|ATA_DF and map it to AC_ERR_DEV instead of AC_ERR_HSM. - In HSM_ST_FIRST and HSM_ST state, map DRQ=1 ERR=1 to AC_ERR_HSM. - For PIO data in and DRQ=1 ERR=1, add check after the junk data block is read. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed