Mikael Pettersson wrote:
This patch adds much needed error reason decoding and reporting to sata_promise. It's simplistic but should log all relevant error info the controller provides. Signed-off-by: Mikael Pettersson <mikpe@xxxxxxxx> --- drivers/ata/sata_promise.c | 64 ++++++++++++++++++++++++++++++++++++++------- 1 files changed, 55 insertions(+), 9 deletions(-) Changes since the preliminary version: * dropped SError decoding, as all bits there are standard * PDC2_HTO_ERR is mapped to AC_ERR_HOST_BUS not AC_ERR_TIMEOUT * PDC_UNDERRUN_ERR and PDC_OVERRUN_ERR are mapped to AC_ERR_HSM not AC_ERR_ATA_BUS * added brief explanations to error constant declarations * some cleanups and simplifications
applied - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html