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/gdtvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic/gdtvar.h') diff --git a/sys/dev/ic/gdtvar.h b/sys/dev/ic/gdtvar.h index 2b4fa865bf2..46aac558c31 100644 --- a/sys/dev/ic/gdtvar.h +++ b/sys/dev/ic/gdtvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gdtvar.h,v 1.15 2008/09/01 17:30:56 deraadt Exp $ */ +/* $OpenBSD: gdtvar.h,v 1.16 2009/02/16 21:19:06 miod Exp $ */ /* * Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved. @@ -398,7 +398,7 @@ struct gdt_softc { int (*sc_test_busy)(struct gdt_softc *); }; -void gdtminphys(struct buf *); +void gdtminphys(struct buf *, struct scsi_link *); int gdt_attach(struct gdt_softc *); int gdt_intr(void *); -- cgit v1.2.3