Fix CCD for bounced devices.

This commit is contained in:
John Dyson 1997-01-10 04:09:13 +00:00
parent 775f9cd54d
commit c0b89506ba
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
/* $Id: ccd.c,v 1.16 1996/07/24 23:45:24 asami Exp $ */
/* $Id: ccd.c,v 1.17 1996/09/06 23:06:40 phk Exp $ */
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
@ -910,6 +910,8 @@ ccdbuffer(cb, cs, bp, bn, addr, bcount)
if (cbp->cb_buf.b_bcount > bcount)
cbp->cb_buf.b_bcount = bcount;
cbp->cb_buf.b_bufsize = cbp->cb_buf.b_bcount;
/*
* context for ccdiodone
*/

View file

@ -1,4 +1,4 @@
/* $Id: ccd.c,v 1.16 1996/07/24 23:45:24 asami Exp $ */
/* $Id: ccd.c,v 1.17 1996/09/06 23:06:40 phk Exp $ */
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
@ -910,6 +910,8 @@ ccdbuffer(cb, cs, bp, bn, addr, bcount)
if (cbp->cb_buf.b_bcount > bcount)
cbp->cb_buf.b_bcount = bcount;
cbp->cb_buf.b_bufsize = cbp->cb_buf.b_bcount;
/*
* context for ccdiodone
*/