summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-22 01:18:58 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-09-22 01:18:58 +0000
commit34c87715dd3424febc6cb5524e46e8ac900ecd5b (patch)
treeaa4bca84f8718e9b0a60a04c013600ebe373fd53 /sys/arch/hp300
parentf5d040ac297491ad084c2a984bd5a30ced7e045e (diff)
All users of physio(9) now pass NULL as the buf pointer argument, so
no point in keeping it around. "i like this" thib@ (a while back); ok krw@ and oga@; reminder to update the man page and tweaks jmc@
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/dev/ct.c6
-rw-r--r--sys/arch/hp300/dev/hd.c6
-rw-r--r--sys/arch/hp300/dev/mt.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/hp300/dev/ct.c b/sys/arch/hp300/dev/ct.c
index ea1bc02d2f9..25295601210 100644
--- a/sys/arch/hp300/dev/ct.c
+++ b/sys/arch/hp300/dev/ct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ct.c,v 1.21 2008/06/12 06:58:33 deraadt Exp $ */
+/* $OpenBSD: ct.c,v 1.22 2010/09/22 01:18:57 matthew Exp $ */
/* $NetBSD: ct.c,v 1.21 1997/04/02 22:37:23 scottr Exp $ */
/*
@@ -864,7 +864,7 @@ ctread(dev, uio, flags)
struct uio *uio;
int flags;
{
- return (physio(ctstrategy, NULL, dev, B_READ, minphys, uio));
+ return (physio(ctstrategy, dev, B_READ, minphys, uio));
}
int
@@ -874,7 +874,7 @@ ctwrite(dev, uio, flags)
int flags;
{
/* XXX: check for hardware write-protect? */
- return (physio(ctstrategy, NULL, dev, B_WRITE, minphys, uio));
+ return (physio(ctstrategy, dev, B_WRITE, minphys, uio));
}
/*ARGSUSED*/
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c
index e23eeb7c53f..6d2bd489153 100644
--- a/sys/arch/hp300/dev/hd.c
+++ b/sys/arch/hp300/dev/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.62 2010/09/08 14:47:10 jsing Exp $ */
+/* $OpenBSD: hd.c,v 1.63 2010/09/22 01:18:57 matthew Exp $ */
/* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */
/*
@@ -1110,7 +1110,7 @@ hdread(dev, uio, flags)
int flags;
{
- return (physio(hdstrategy, NULL, dev, B_READ, minphys, uio));
+ return (physio(hdstrategy, dev, B_READ, minphys, uio));
}
int
@@ -1120,7 +1120,7 @@ hdwrite(dev, uio, flags)
int flags;
{
- return (physio(hdstrategy, NULL, dev, B_WRITE, minphys, uio));
+ return (physio(hdstrategy, dev, B_WRITE, minphys, uio));
}
int
diff --git a/sys/arch/hp300/dev/mt.c b/sys/arch/hp300/dev/mt.c
index b0615f51166..d76f55c3a6f 100644
--- a/sys/arch/hp300/dev/mt.c
+++ b/sys/arch/hp300/dev/mt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mt.c,v 1.24 2010/07/10 03:06:51 matthew Exp $ */
+/* $OpenBSD: mt.c,v 1.25 2010/09/22 01:18:57 matthew Exp $ */
/* $NetBSD: mt.c,v 1.8 1997/03/31 07:37:29 scottr Exp $ */
/*
@@ -914,7 +914,7 @@ mtread(dev, uio, flags)
struct uio *uio;
int flags;
{
- return (physio(mtstrategy, NULL, dev, B_READ, minphys, uio));
+ return (physio(mtstrategy, dev, B_READ, minphys, uio));
}
int
@@ -923,7 +923,7 @@ mtwrite(dev, uio, flags)
struct uio *uio;
int flags;
{
- return (physio(mtstrategy, NULL, dev, B_WRITE, minphys, uio));
+ return (physio(mtstrategy, dev, B_WRITE, minphys, uio));
}
int