diff options
author | 2008-04-19 15:06:40 -0400 | |
---|---|---|
committer | 2008-04-25 01:25:48 -0400 | |
commit | fcfb1f77cea81f74d865b4d33f2e452ffa1973e8 (patch) | |
tree | eea4215c354333cbbab55a608d44b7a3aca59dce /lib/parser.c | |
parent | sata_mv: simplify freeze/thaw bit-shift calculations (diff) | |
download | wireguard-linux-fcfb1f77cea81f74d865b4d33f2e452ffa1973e8.tar.xz wireguard-linux-fcfb1f77cea81f74d865b4d33f2e452ffa1973e8.zip |
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 <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions