diff options
author | Gwendal Grignou <gwendal@google.com> | 2013-06-18 19:54:48 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-06-18 20:35:30 +0200 |
commit | 78062c50d15d6a0adfa09f6e35a6c52abcc9a32d (patch) | |
tree | 6f4e8b2674a5d48dcd9628d064eb335ac9f91e86 /include | |
parent | ahci: sata: add support for exynos5440 sata (diff) | |
download | linux-78062c50d15d6a0adfa09f6e35a6c52abcc9a32d.tar.xz linux-78062c50d15d6a0adfa09f6e35a6c52abcc9a32d.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions