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/tc | |
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/tc')
-rw-r--r-- | sys/dev/tc/asc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/tc/asc.c b/sys/dev/tc/asc.c index ab8634bebda..6bf47cc5312 100644 --- a/sys/dev/tc/asc.c +++ b/sys/dev/tc/asc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asc.c,v 1.23 2008/06/26 05:42:18 ray Exp $ */ +/* $OpenBSD: asc.c,v 1.24 2009/02/16 21:19:07 miod Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -72,7 +72,7 @@ struct cfdriver asc_cd = { struct scsi_adapter asc_switch = { ncr53c9x_scsi_cmd, - minphys, /* no max at this level; handled by DMA code */ + scsi_minphys, /* no max at this level; handled by DMA code */ NULL, NULL, }; |