summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2011-07-08 08:26:42 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2011-07-08 08:26:42 +0000
commit0862b1eef08fddca9627bed690963cd6d39f139e (patch)
tree013d96db99aef19755e74b57944b2f4a67ebab6f /sys/dev/isa
parent5eb16bed8c5763bf167ca2cb4509b4118a55e243 (diff)
ansi, no binary change
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/isavar.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/dev/isa/isavar.h b/sys/dev/isa/isavar.h
index 2622d9383f7..06cab5eee01 100644
--- a/sys/dev/isa/isavar.h
+++ b/sys/dev/isa/isavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: isavar.h,v 1.56 2011/07/07 19:16:42 deraadt Exp $ */
+/* $OpenBSD: isavar.h,v 1.57 2011/07/08 08:26:41 jsg Exp $ */
/* $NetBSD: isavar.h,v 1.26 1997/06/06 23:43:57 thorpej Exp $ */
/*-
@@ -402,19 +402,14 @@ static __inline void isapnp_write_reg(struct isapnp_softc *, int, u_char);
static __inline u_char isapnp_read_reg(struct isapnp_softc *, int);
static __inline void
-isapnp_write_reg(sc, r, v)
- struct isapnp_softc *sc;
- int r;
- u_char v;
+isapnp_write_reg(struct isapnp_softc *sc, int r, u_char v)
{
ISAPNP_WRITE_ADDR(sc, r);
ISAPNP_WRITE_DATA(sc, v);
}
static __inline u_char
-isapnp_read_reg(sc, r)
- struct isapnp_softc *sc;
- int r;
+isapnp_read_reg(struct isapnp_softc *sc, int r)
{
ISAPNP_WRITE_ADDR(sc, r);
return ISAPNP_READ_DATA(sc);