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-09-09 19:22:55 +00:00
2003-09-02 17:30:40 +00:00
2003-09-14 02:32:31 +00:00
2003-09-14 02:32:31 +00:00
2003-08-29 23:25:00 +00:00