Date: Thu, 24 Apr 1997 09:52:20 -0700 (PDT) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sys@FreeBSD.org Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.reg aic7xxx.seq Message-ID: <199704241652.JAA16278@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 97/04/24 09:52:20
Modified: sys/dev/aic7xxx aic7xxx.reg aic7xxx.seq
Log:
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>
Revision Changes Path
1.3 +2 -2 src/sys/dev/aic7xxx/aic7xxx.reg
1.73 +6 -1 src/sys/dev/aic7xxx/aic7xxx.seq
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704241652.JAA16278>
