summaryrefslogtreecommitdiff
path: root/sys/arch/arm/footbridge/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm/footbridge/isa')
-rw-r--r--sys/arch/arm/footbridge/isa/dsrtc.c20
-rw-r--r--sys/arch/arm/footbridge/isa/isa_machdep.c14
-rw-r--r--sys/arch/arm/footbridge/isa/sysbeep_isa.c8
3 files changed, 21 insertions, 21 deletions
diff --git a/sys/arch/arm/footbridge/isa/dsrtc.c b/sys/arch/arm/footbridge/isa/dsrtc.c
index b909ed406e1..abd0b068209 100644
--- a/sys/arch/arm/footbridge/isa/dsrtc.c
+++ b/sys/arch/arm/footbridge/isa/dsrtc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsrtc.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
+/* $OpenBSD: dsrtc.c,v 1.2 2004/05/19 03:17:07 drahn Exp $ */
/* $NetBSD: dsrtc.c,v 1.5 2003/03/23 14:12:26 chris Exp $ */
/*
@@ -58,15 +58,15 @@ struct dsrtc_softc {
bus_space_handle_t sc_ioh;
};
-void dsrtcattach __P((struct device *parent, struct device *self, void *aux));
-int dsrtcmatch __P((struct device *parent, void *cf, void *aux));
-int ds1687_read __P((struct dsrtc_softc *sc, int addr));
-void ds1687_write __P((struct dsrtc_softc *sc, int addr, int data));
-int ds1687_ram_read __P((struct dsrtc_softc *sc, int addr));
-void ds1687_ram_write __P((struct dsrtc_softc *sc, int addr, int data));
-static void ds1687_bank_select __P((struct dsrtc_softc *, int));
-static int dsrtc_write __P((void *, rtc_t *));
-static int dsrtc_read __P((void *, rtc_t *));
+void dsrtcattach (struct device *parent, struct device *self, void *aux);
+int dsrtcmatch (struct device *parent, void *cf, void *aux);
+int ds1687_read (struct dsrtc_softc *sc, int addr);
+void ds1687_write (struct dsrtc_softc *sc, int addr, int data);
+int ds1687_ram_read (struct dsrtc_softc *sc, int addr);
+void ds1687_ram_write (struct dsrtc_softc *sc, int addr, int data);
+static void ds1687_bank_select (struct dsrtc_softc *, int);
+static int dsrtc_write (void *, rtc_t *);
+static int dsrtc_read (void *, rtc_t *);
int
ds1687_read(sc, addr)
diff --git a/sys/arch/arm/footbridge/isa/isa_machdep.c b/sys/arch/arm/footbridge/isa/isa_machdep.c
index 8927d26ddd6..8b74eca7e45 100644
--- a/sys/arch/arm/footbridge/isa/isa_machdep.c
+++ b/sys/arch/arm/footbridge/isa/isa_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isa_machdep.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
+/* $OpenBSD: isa_machdep.c,v 1.2 2004/05/19 03:17:07 drahn Exp $ */
/* $NetBSD: isa_machdep.c,v 1.4 2003/06/16 20:00:57 thorpej Exp $ */
/*-
@@ -101,15 +101,15 @@
#include "isadma.h"
/* prototypes */
-static void isa_icu_init __P((void));
+static void isa_icu_init (void);
struct arm32_isa_chipset isa_chipset_tag;
-void isa_strayintr __P((int));
-void intr_calculatemasks __P((void));
-int fakeintr __P((void *));
+void isa_strayintr (int);
+void intr_calculatemasks (void);
+int fakeintr (void *);
-int isa_irqdispatch __P((void *arg));
+int isa_irqdispatch (void *arg);
u_int imask[NIPL];
unsigned imen;
@@ -383,7 +383,7 @@ isa_intr_establish(ic, irq, type, level, ih_fun, ih_arg, name)
int irq;
int type;
int level;
- int (*ih_fun) __P((void *));
+ int (*ih_fun) (void *);
void *ih_arg;
char *name;
{
diff --git a/sys/arch/arm/footbridge/isa/sysbeep_isa.c b/sys/arch/arm/footbridge/isa/sysbeep_isa.c
index 71032afebf5..2919c5cb34d 100644
--- a/sys/arch/arm/footbridge/isa/sysbeep_isa.c
+++ b/sys/arch/arm/footbridge/isa/sysbeep_isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysbeep_isa.c,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
+/* $OpenBSD: sysbeep_isa.c,v 1.2 2004/05/19 03:17:07 drahn Exp $ */
/* $NetBSD: sysbeep_isa.c,v 1.4 2002/10/02 15:45:10 thorpej Exp $ */
/*-
@@ -45,9 +45,9 @@
#include <dev/isa/pcppivar.h>
/* Prototypes */
-int sysbeep_isa_match __P((struct device *parent, void *cf, void *aux));
-void sysbeep_isa_attach __P((struct device *parent, struct device *self, void *aux));
-void sysbeep_isa __P((int pitch, int period));
+int sysbeep_isa_match (struct device *parent, void *cf, void *aux);
+void sysbeep_isa_attach (struct device *parent, struct device *self, void *aux);
+void sysbeep_isa (int pitch, int period);
/* device attach structure */
struct cfattach sysbeep_isa_ca = {