diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-01-07 19:04:47 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-01-07 19:04:47 +0000 |
commit | dc6bb2d0345c9273462299bdf4a322235eb30b02 (patch) | |
tree | b16e8c1d7c8096d147185cb30988d5540a641214 /sys/dev/ic | |
parent | bec585e24fe8c9b5e710d4d4d86a8b0a5a2449be (diff) |
pass the proc* down the ioctl chain to controller; mjacob@ csapuntz@ ok
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/wdc.c | 5 | ||||
-rw-r--r-- | sys/dev/ic/wdcvar.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c index 13bac8fbd39..60433f016f4 100644 --- a/sys/dev/ic/wdc.c +++ b/sys/dev/ic/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.43 2001/11/06 19:53:18 miod Exp $ */ +/* $OpenBSD: wdc.c,v 1.44 2002/01/07 19:04:46 mickey Exp $ */ /* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */ @@ -1979,11 +1979,12 @@ bad: } int -wdc_ioctl(drvp, xfer, addr, flag) +wdc_ioctl(drvp, xfer, addr, flag, p) struct ata_drive_datas *drvp; u_long xfer; caddr_t addr; int flag; + struct proc *p; { int error = 0; diff --git a/sys/dev/ic/wdcvar.h b/sys/dev/ic/wdcvar.h index fcaa870b74b..4bb63d37f62 100644 --- a/sys/dev/ic/wdcvar.h +++ b/sys/dev/ic/wdcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdcvar.h,v 1.20 2001/07/31 06:14:05 csapuntz Exp $ */ +/* $OpenBSD: wdcvar.h,v 1.21 2002/01/07 19:04:46 mickey Exp $ */ /* $NetBSD: wdcvar.h,v 1.17 1999/04/11 20:50:29 bouyer Exp $ */ /*- @@ -289,4 +289,4 @@ void wdc_input_bytes __P((struct ata_drive_datas *drvp, void *, unsigned int)); void wdc_print_current_modes __P((struct channel_softc *)); -int wdc_ioctl __P((struct ata_drive_datas *, u_long, caddr_t, int)); +int wdc_ioctl __P((struct ata_drive_datas *, u_long, caddr_t, int, struct proc *)); |