From 2da99529039b177155c4f8b121a56af665bbc013 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 16 Feb 2009 21:19:08 +0000 Subject: 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. --- sys/dev/ic/mfi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/ic/mfi.c') diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 8166d17a33f..6afdd503868 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.88 2009/01/28 23:45:12 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.89 2009/02/16 21:19:06 miod Exp $ */ /* * Copyright (c) 2006 Marco Peereboom * @@ -57,7 +57,7 @@ struct cfdriver mfi_cd = { int mfi_scsi_cmd(struct scsi_xfer *); int mfi_scsi_ioctl(struct scsi_link *, u_long, caddr_t, int, struct proc *); -void mfiminphys(struct buf *bp); +void mfiminphys(struct buf *bp, struct scsi_link *sl); struct scsi_adapter mfi_switch = { mfi_scsi_cmd, mfiminphys, 0, 0, mfi_scsi_ioctl @@ -600,7 +600,7 @@ mfi_get_info(struct mfi_softc *sc) } void -mfiminphys(struct buf *bp) +mfiminphys(struct buf *bp, struct scsi_link *sl) { DNPRINTF(MFI_D_MISC, "mfiminphys: %d\n", bp->b_bcount); -- cgit v1.2.3