summaryrefslogtreecommitdiff
path: root/sys/dev/ic/siop_common.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-02-16 21:19:08 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-02-16 21:19:08 +0000
commit2da99529039b177155c4f8b121a56af665bbc013 (patch)
tree164ac14d81166b8b640ca50ae2bfbd661def8e85 /sys/dev/ic/siop_common.c
parent02ba6ef4276aced0ecad6ed5dc9b0a7e1cd1d4ad (diff)
Extend the scsi_adapter minphys() callback to take a struct scsi_link *
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
Diffstat (limited to 'sys/dev/ic/siop_common.c')
-rw-r--r--sys/dev/ic/siop_common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/siop_common.c b/sys/dev/ic/siop_common.c
index aa7e40fa47d..ffcb3e084b3 100644
--- a/sys/dev/ic/siop_common.c
+++ b/sys/dev/ic/siop_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop_common.c,v 1.32 2009/01/29 22:50:23 miod Exp $ */
+/* $OpenBSD: siop_common.c,v 1.33 2009/02/16 21:19:07 miod Exp $ */
/* $NetBSD: siop_common.c,v 1.37 2005/02/27 00:27:02 perry Exp $ */
/*
@@ -707,8 +707,7 @@ siop_ppr_msg(siop_cmd, offset, ssync, soff)
}
void
-siop_minphys(bp)
- struct buf *bp;
+siop_minphys(struct buf *bp, struct scsi_link *sl)
{
if (bp->b_bcount > SIOP_MAXFER)
bp->b_bcount = SIOP_MAXFER;