diff options
Diffstat (limited to 'sys/dev/ic/dpt.c')
-rw-r--r-- | sys/dev/ic/dpt.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ic/dpt.c b/sys/dev/ic/dpt.c index f9f2ad7f827..d322ccb4902 100644 --- a/sys/dev/ic/dpt.c +++ b/sys/dev/ic/dpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dpt.c,v 1.19 2008/11/26 22:03:11 krw Exp $ */ +/* $OpenBSD: dpt.c,v 1.20 2009/02/16 21:19:06 miod Exp $ */ /* $NetBSD: dpt.c,v 1.12 1999/10/23 16:26:33 ad Exp $ */ /*- @@ -639,10 +639,8 @@ dpt_readcfg(sc) * Adjust the size of each I/O before it passes to the SCSI layer. */ void -dpt_minphys(bp) - struct buf *bp; +dpt_minphys(struct buf *bp, struct scsi_link *sl) { - if (bp->b_bcount > DPT_MAX_XFER) bp->b_bcount = DPT_MAX_XFER; minphys(bp); |