Re: [PATCH -mm] libata: add human-readable error value decoding v3

From: Jeff Garzik
Date: Tue Oct 02 2007 - 11:20:56 EST


Robert Hancock wrote:
This adds human-readable decoding of the ATA status and error registers
(similar to what drivers/ide does) as well as the SATA Serror register to
libata error handling output. This prevents the need to pore through
standards documents to figure out the meaning of the bits in these
registers when looking at error reports. Some bits that drivers/ide
decoded are not decoded here, since the bits are either command-dependent
or obsolete, and properly parsing them would add too much complexity.

Signed-off-by: Robert Hancock <hancockr@xxxxxxx>

---

Rebased to apply to 2.6.23-rc1-mm2.

I'm applying this manually.... sorry it took so long, the asymmetry of "{DRDY }" bugged me, so I did a few cleanups.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/