Albert Lee 3655d1d323 [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 <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-05-20 00:37:01 -04:00
..
2005-04-16 15:20:36 -07:00
2006-03-25 08:22:52 -08:00
2006-01-01 22:21:50 +01:00
2006-04-11 06:18:46 -07:00
2006-01-14 10:55:12 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-14 14:18:01 -06:00
2005-04-16 15:20:36 -07:00
2006-05-15 21:03:55 +09:00
2006-05-15 20:58:25 +09:00
2006-03-25 08:22:52 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-10-28 21:04:15 -05:00
2005-04-16 15:20:36 -07:00
2006-02-22 14:35:52 -08:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-13 10:13:29 -05:00
2006-04-13 10:13:30 -05:00
2006-02-04 16:19:08 -06:00
2006-03-14 14:18:01 -06:00
2005-04-16 15:20:36 -07:00
2006-04-18 04:54:00 -04:00
2006-04-19 20:52:30 -04:00
2005-04-16 15:20:36 -07:00
2006-02-27 22:55:08 -06:00
2006-01-12 09:09:05 -08:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-12 16:54:43 -04:00
2005-11-09 15:48:20 -05:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-12 16:54:43 -04:00
2006-05-15 20:59:15 +09:00
2006-04-12 16:54:43 -04:00
2006-05-15 20:58:27 +09:00
2006-04-11 12:51:40 -04:00
2006-05-15 20:59:15 +09:00
2006-04-11 12:51:40 -04:00
2006-04-11 12:51:40 -04:00
2006-04-12 16:54:43 -04:00
2005-04-16 15:20:36 -07:00
2006-02-27 22:55:02 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:23:02 -08:00
2006-04-13 10:13:27 -05:00
2005-12-17 10:50:23 -06:00
2006-03-23 07:38:09 -08:00
2006-03-23 07:38:09 -08:00
2005-04-16 15:20:36 -07:00
2005-10-28 21:04:15 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00