diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-16 21:19:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-16 21:19:08 +0000 |
commit | 2da99529039b177155c4f8b121a56af665bbc013 (patch) | |
tree | 164ac14d81166b8b640ca50ae2bfbd661def8e85 /sys/dev/ic/twe.c | |
parent | 02ba6ef4276aced0ecad6ed5dc9b0a7e1cd1d4ad (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/twe.c')
-rw-r--r-- | sys/dev/ic/twe.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/twe.c b/sys/dev/ic/twe.c index 5b00863c69f..f3f9700364f 100644 --- a/sys/dev/ic/twe.c +++ b/sys/dev/ic/twe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: twe.c,v 1.29 2008/07/24 19:03:08 thib Exp $ */ +/* $OpenBSD: twe.c,v 1.30 2009/02/16 21:19:07 miod Exp $ */ /* * Copyright (c) 2000-2002 Michael Shalayeff. All rights reserved. @@ -746,8 +746,7 @@ twe_done(sc, ccb) } void -tweminphys(bp) - struct buf *bp; +tweminphys(struct buf *bp, struct scsi_link *sl) { if (bp->b_bcount > TWE_MAXFER) bp->b_bcount = TWE_MAXFER; |