summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorRobert Hancock <hancockr@shaw.ca>2007-10-02 11:22:02 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:45 -0400
commit1333e19434da116bc832e1b8925359d1565fedc9 (patch)
tree581785c8864f55347e1de0eb10850cc374b79b6e /drivers/ata/ahci.c
parent6949b9148d3656afc13a2ccc06d13c071ec71bdc (diff)
downloadblackbird-op-linux-1333e19434da116bc832e1b8925359d1565fedc9.tar.gz
blackbird-op-linux-1333e19434da116bc832e1b8925359d1565fedc9.zip
libata: add human-readable error value decoding
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@shaw.ca> [edited slightly to make output a bit more symmetric] Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud