[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4644FAC4.4010809@garzik.org>
Date: Fri, 11 May 2007 19:22:44 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Robert Hancock <hancockr@...w.ca>
CC: Tejun Heo <htejun@...il.com>, Chuck Ebbert <cebbert@...hat.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-ide@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] libata: add human-readable error value decoding
Robert Hancock wrote:
> The ATA ones are more of a pain in that regard than SCSI though - SCSI
> has all distinct error codes for different errors, whereas ATA has
> bitmasks for everything..
That should not affect implementation. Either way, a table-driven
approach can easily work.
I favor decoding the SError status bits, but your names were far too
long. "ProtocolErr" should be "Proto". "10B8BErr" should be "10b8b".
HostInternalErr to HostInt. PHYInternalErr to PHYInt. etc.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists