summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-26 23:44:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-26 23:44:24 +0000
commite56ef88c366b52725346b6fdbfd2c7c4e5778096 (patch)
treea8e1fa0c4a2f381f1b1b08790e7733196c3d1727 /sys
parent31ffa40b64492b4ab4099d6eda746924be3dbe4d (diff)
finish busify
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/if_le.c8
-rw-r--r--sys/dev/isa/if_le_isa.c4
-rw-r--r--sys/dev/isa/if_le_isapnp.c4
-rw-r--r--sys/dev/isa/if_levar.h6
4 files changed, 8 insertions, 14 deletions
diff --git a/sys/dev/isa/if_le.c b/sys/dev/isa/if_le.c
index 91141972583..09e50309e40 100644
--- a/sys/dev/isa/if_le.c
+++ b/sys/dev/isa/if_le.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le.c,v 1.12 1997/12/26 08:07:32 deraadt Exp $ */
+/* $OpenBSD: if_le.c,v 1.13 1997/12/26 23:44:20 deraadt Exp $ */
/* $NetBSD: if_le_isa.c,v 1.2 1996/05/12 23:52:56 mycroft Exp $ */
/*-
@@ -61,19 +61,17 @@
#include <machine/cpu.h>
#include <machine/intr.h>
-#include <machine/pio.h>
#include <dev/isa/isareg.h>
#include <dev/isa/isavar.h>
#include <dev/isa/isadmavar.h>
-#include <i386/isa/isa_machdep.h>
#include <dev/ic/am7990reg.h>
#include <dev/ic/am7990var.h>
#include <dev/isa/if_levar.h>
-hide void
+void
le_isa_wrcsr(sc, port, val)
struct am7990_softc *sc;
u_int16_t port, val;
@@ -86,7 +84,7 @@ le_isa_wrcsr(sc, port, val)
bus_space_write_2(iot, ioh, lesc->sc_rdp, val);
}
-hide u_int16_t
+u_int16_t
le_isa_rdcsr(sc, port)
struct am7990_softc *sc;
u_int16_t port;
diff --git a/sys/dev/isa/if_le_isa.c b/sys/dev/isa/if_le_isa.c
index ac87abdf5bf..c1e6aeb54af 100644
--- a/sys/dev/isa/if_le_isa.c
+++ b/sys/dev/isa/if_le_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le_isa.c,v 1.9 1997/12/26 08:07:32 deraadt Exp $ */
+/* $OpenBSD: if_le_isa.c,v 1.10 1997/12/26 23:44:21 deraadt Exp $ */
/* $NetBSD: if_le_isa.c,v 1.2 1996/05/12 23:52:56 mycroft Exp $ */
/*-
@@ -61,12 +61,10 @@
#include <machine/cpu.h>
#include <machine/intr.h>
-#include <machine/pio.h>
#include <dev/isa/isareg.h>
#include <dev/isa/isavar.h>
#include <dev/isa/isadmavar.h>
-#include <i386/isa/isa_machdep.h>
#include <dev/ic/am7990reg.h>
#include <dev/ic/am7990var.h>
diff --git a/sys/dev/isa/if_le_isapnp.c b/sys/dev/isa/if_le_isapnp.c
index 2441f228fc3..ed5bd8d4732 100644
--- a/sys/dev/isa/if_le_isapnp.c
+++ b/sys/dev/isa/if_le_isapnp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le_isapnp.c,v 1.3 1997/12/26 09:35:37 deraadt Exp $ */
+/* $OpenBSD: if_le_isapnp.c,v 1.4 1997/12/26 23:44:22 deraadt Exp $ */
/* $NetBSD: if_le_isa.c,v 1.2 1996/05/12 23:52:56 mycroft Exp $ */
/*-
@@ -61,12 +61,10 @@
#include <machine/cpu.h>
#include <machine/intr.h>
-#include <machine/pio.h>
#include <dev/isa/isareg.h>
#include <dev/isa/isavar.h>
#include <dev/isa/isadmavar.h>
-#include <i386/isa/isa_machdep.h>
#include <dev/ic/am7990reg.h>
#include <dev/ic/am7990var.h>
diff --git a/sys/dev/isa/if_levar.h b/sys/dev/isa/if_levar.h
index d0a0bd86846..c67ca4ee317 100644
--- a/sys/dev/isa/if_levar.h
+++ b/sys/dev/isa/if_levar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_levar.h,v 1.6 1997/12/26 08:07:33 deraadt Exp $ */
+/* $OpenBSD: if_levar.h,v 1.7 1997/12/26 23:44:23 deraadt Exp $ */
/* $NetBSD: if_levar.h,v 1.5 1996/05/07 01:50:07 thorpej Exp $ */
/*
@@ -55,6 +55,6 @@ struct le_softc {
bus_space_handle_t sc_ioh;
};
-hide void le_isa_wrcsr __P((struct am7990_softc *, u_int16_t, u_int16_t));
-hide u_int16_t le_isa_rdcsr __P((struct am7990_softc *, u_int16_t));
+void le_isa_wrcsr __P((struct am7990_softc *, u_int16_t, u_int16_t));
+u_int16_t le_isa_rdcsr __P((struct am7990_softc *, u_int16_t));
int le_isa_intredge __P((void *));