Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/scsipi/atapi_wdc.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/scsipi/atapi_wdc.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.27.4.1 retrieving revision 1.28 diff -u -p -r1.27.4.1 -r1.28 --- src/sys/dev/scsipi/atapi_wdc.c 1999/11/15 00:41:22 1.27.4.1 +++ src/sys/dev/scsipi/atapi_wdc.c 1999/10/20 15:22:27 1.28 @@ -1,4 +1,4 @@ -/* $NetBSD: atapi_wdc.c,v 1.27.4.1 1999/11/15 00:41:22 fvdl Exp $ */ +/* $NetBSD: atapi_wdc.c,v 1.28 1999/10/20 15:22:27 enami Exp $ */ /* * Copyright (c) 1998 Manuel Bouyer. @@ -308,7 +308,7 @@ wdc_atapi_start(chp, xfer) */ wdccommand(chp, xfer->drive, ATAPI_PKT_CMD, - xfer->c_bcount <= 0xffff ? xfer->c_bcount : 0xffff, + sc_xfer->datalen <= 0xffff ? sc_xfer->datalen : 0xffff, 0, 0, 0, (xfer->c_flags & C_DMA) ? ATAPI_PKT_CMD_FTRE_DMA : 0);