Scott Long 7753acd255 Correctly wrap the producer queue index when dequeuing commands. This wasn't
a problem for command responses since we rarely ever filled the queue.
However, adapter-initiated commands have a much smaller queue and could
tickle this bug.  It's possible that this might fix the recently reported
problems with the aac-2120s, though I haven't been able to reproduce the
problem locally.

MFC-After: 1 day
2003-09-16 16:07:15 +00:00
..
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00