freebsd-dev/sys/dev/aic7xxx
Justin T. Gibbs cd6867d0d3 The following scenario would result in a bogus residual being reported
if SCB Paging was enabled:

    disconnect with more data to transfer
    disconnected SCB gets paged out
    target reconnects so we page SCB back in
    target completes transfer so residual is 0
    target disconnects
    SCB gets reused but not paged out since the residual is 0 (optimization)
    target reconnects so we page the SCB back in
    we report a residual because of stale residual information.

The fix for this is to set a flag that forces the SCB to be paged back
up to the host if we page in an SCB with a residual

Pointed out by: Doug Ledford <dledford@dialnet.net>
1997-04-24 16:52:18 +00:00
..
aicasm aic7xxx.seq: 1997-04-10 19:13:07 +00:00
aic7xxx_asm.c aic7xxx.seq: 1997-04-10 19:13:07 +00:00
aic7xxx_asm.h Missed one. 1997-03-16 07:28:30 +00:00
aic7xxx.reg The following scenario would result in a bogus residual being reported 1997-04-24 16:52:18 +00:00
aic7xxx.seq The following scenario would result in a bogus residual being reported 1997-04-24 16:52:18 +00:00
aicasm_gram.y Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c: 1997-03-16 07:08:19 +00:00
aicasm_scan.l Don't depend on <sys/types.h> being (bogusly) included by <stdio.h>. 1997-03-16 17:31:59 +00:00
aicasm_symbol.c Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c: 1997-03-16 07:08:19 +00:00
aicasm_symbol.h Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c: 1997-03-16 07:08:19 +00:00
aicasm.c aic7xxx.seq: 1997-04-10 19:13:07 +00:00
aicasm.h Missed one. 1997-03-16 07:28:30 +00:00
gram.y Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c: 1997-03-16 07:08:19 +00:00
Makefile CFLAGS += -I. so that building in an obj directory works. 1997-04-03 05:56:00 +00:00
scan.l Don't depend on <sys/types.h> being (bogusly) included by <stdio.h>. 1997-03-16 17:31:59 +00:00
sequencer.h Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c: 1997-03-16 07:08:19 +00:00
symbol.c Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c: 1997-03-16 07:08:19 +00:00
symbol.h Makefile gram.y scan.l sequencer.h symbol.c symbol.h aic7xxx_asm.c: 1997-03-16 07:08:19 +00:00