summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-01-07 19:04:47 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-01-07 19:04:47 +0000
commitdc6bb2d0345c9273462299bdf4a322235eb30b02 (patch)
treeb16e8c1d7c8096d147185cb30988d5540a641214 /sys/scsi
parentbec585e24fe8c9b5e710d4d4d86a8b0a5a2449be (diff)
pass the proc* down the ioctl chain to controller; mjacob@ csapuntz@ ok
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsi_ioctl.c4
-rw-r--r--sys/scsi/scsiconf.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c
index eb4c1918f27..f6b41e95165 100644
--- a/sys/scsi/scsi_ioctl.c
+++ b/sys/scsi/scsi_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_ioctl.c,v 1.13 2001/06/22 14:35:43 deraadt Exp $ */
+/* $OpenBSD: scsi_ioctl.c,v 1.14 2002/01/07 19:04:46 mickey Exp $ */
/* $NetBSD: scsi_ioctl.c,v 1.23 1996/10/12 23:23:17 christos Exp $ */
/*
@@ -418,7 +418,7 @@ scsi_do_safeioctl(sc_link, dev, cmd, addr, flag, p)
default:
if (sc_link->adapter->ioctl)
return (sc_link->adapter->ioctl)(sc_link, cmd, addr,
- flag);
+ flag, p);
else
return ENOTTY;
}
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 1392c920b7b..2e5c37dc92b 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.31 2001/10/26 10:50:26 krw Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.32 2002/01/07 19:04:46 mickey Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -106,7 +106,7 @@ struct scsi_adapter {
int (*open_target_lu) __P((void));
int (*close_target_lu) __P((void));
int (*ioctl) __P((struct scsi_link *, u_long cmd,
- caddr_t addrp, int flag));
+ caddr_t addrp, int flag, struct proc *p));
};
/*