From: Mark Lord Date: Sat, 19 Apr 2008 19:06:40 +0000 (-0400) Subject: sata_mv: simplify request/response queue handling X-Git-Tag: v2.6.26-rc1~1060^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcfb1f77cea81f74d865b4d33f2e452ffa1973e8;p=pandora-kernel.git sata_mv: simplify request/response queue handling Try and simplify handling of the request/response queues. Maintain the cached copies of queue indexes in a fully-masked state, rather than having each use of them have to do the masking. Split off handling of a single crpb response into a separate function, to reduce complexity in the main mv_process_crpb_entries() routine. Ignore the rarely-valid error bits from the crpb status field, as we already handle that information in mv_err_intr(). For now, preserve the rest of the original logic. A later patch will deal with fixing that separately. Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed