Gwendal Grignou 78062c50d1 libata: cleanup SAT error translation
- Remove duplicate Medium Error Entry.

- Fix translations to match SAT2 translation table.

- Remove warning messages when translation is not found when decoding
  error or status register.

- Goes through status register decoding when only ABRT bit is set in
  error register.

Tested: When a disk fails, it sets

  Status = 0x71 [DRDY DF ERR] , Error = 0x4 [ABRT]

This patch will make the sense key HARDWARE_ERROR instead.

When there is a simple command syntax error:

  Status = 0x51 [DRDY ERR] , Error = 0x4 [ABRT]

The sense key remains ABORTED_COMMAND.

tj: Some updates to the description and comments.

Signed-off-by: Gwendal Grignou <gwendal@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2013-06-18 11:35:30 -07:00
..
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-02-20 17:10:53 -05:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-04-09 14:13:28 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00