summaryrefslogtreecommitdiffstats
path: root/sys/dev/iir
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-20 02:08:01 +0000
committeralfred <alfred@FreeBSD.org>2002-03-20 02:08:01 +0000
commit3264aec746947db8598130cb0ac382cf0b2a10cf (patch)
tree13b2f09af75205c81c286aaf60527ae3de623e14 /sys/dev/iir
parente8f7a49843febbd1d96e06f28e56160c942029dd (diff)
downloadFreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.zip
FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.tar.gz
Remove __P.
Diffstat (limited to 'sys/dev/iir')
-rw-r--r--sys/dev/iir/iir.h28
-rw-r--r--sys/dev/iir/iir_pci.c18
2 files changed, 23 insertions, 23 deletions
diff --git a/sys/dev/iir/iir.h b/sys/dev/iir/iir.h
index 3b325cb..2f1a487 100644
--- a/sys/dev/iir/iir.h
+++ b/sys/dev/iir/iir.h
@@ -610,12 +610,12 @@ struct gdt_softc {
struct cam_sim *sims[GDT_MAXBUS];
struct cam_path *paths[GDT_MAXBUS];
- void (*sc_copy_cmd) __P((struct gdt_softc *, struct gdt_ccb *));
- u_int8_t (*sc_get_status) __P((struct gdt_softc *));
- void (*sc_intr) __P((struct gdt_softc *, struct gdt_intr_ctx *));
- void (*sc_release_event) __P((struct gdt_softc *));
- void (*sc_set_sema0) __P((struct gdt_softc *));
- int (*sc_test_busy) __P((struct gdt_softc *));
+ void (*sc_copy_cmd)(struct gdt_softc *, struct gdt_ccb *);
+ u_int8_t (*sc_get_status)(struct gdt_softc *);
+ void (*sc_intr)(struct gdt_softc *, struct gdt_intr_ctx *);
+ void (*sc_release_event)(struct gdt_softc *);
+ void (*sc_set_sema0)(struct gdt_softc *);
+ int (*sc_test_busy)(struct gdt_softc *);
TAILQ_ENTRY(gdt_softc) links;
};
@@ -644,17 +644,17 @@ struct gdt_ccb {
};
-int iir_init __P((struct gdt_softc *));
-void iir_free __P((struct gdt_softc *));
-void iir_attach __P((struct gdt_softc *));
-void iir_intr __P((void *arg));
+int iir_init(struct gdt_softc *);
+void iir_free(struct gdt_softc *);
+void iir_attach(struct gdt_softc *);
+void iir_intr(void *arg);
#ifdef __GNUC__
/* These all require correctly aligned buffers */
-static __inline__ void gdt_enc16 __P((u_int8_t *, u_int16_t));
-static __inline__ void gdt_enc32 __P((u_int8_t *, u_int32_t));
-static __inline__ u_int16_t gdt_dec16 __P((u_int8_t *));
-static __inline__ u_int32_t gdt_dec32 __P((u_int8_t *));
+static __inline__ void gdt_enc16(u_int8_t *, u_int16_t);
+static __inline__ void gdt_enc32(u_int8_t *, u_int32_t);
+static __inline__ u_int16_t gdt_dec16(u_int8_t *);
+static __inline__ u_int32_t gdt_dec32(u_int8_t *);
static __inline__ void
gdt_enc16(addr, value)
diff --git a/sys/dev/iir/iir_pci.c b/sys/dev/iir/iir_pci.c
index d751e3d..9c083c2 100644
--- a/sys/dev/iir/iir_pci.c
+++ b/sys/dev/iir/iir_pci.c
@@ -125,17 +125,17 @@
/* DPRAM struct. */
#define GDT_MPR_SZ (0x3000 - GDT_SRAM_SZ)
-static int iir_pci_probe __P((device_t dev));
-static int iir_pci_attach __P((device_t dev));
+static int iir_pci_probe(device_t dev);
+static int iir_pci_attach(device_t dev);
-void gdt_pci_enable_intr __P((struct gdt_softc *));
+void gdt_pci_enable_intr(struct gdt_softc *);
-void gdt_mpr_copy_cmd __P((struct gdt_softc *, struct gdt_ccb *));
-u_int8_t gdt_mpr_get_status __P((struct gdt_softc *));
-void gdt_mpr_intr __P((struct gdt_softc *, struct gdt_intr_ctx *));
-void gdt_mpr_release_event __P((struct gdt_softc *));
-void gdt_mpr_set_sema0 __P((struct gdt_softc *));
-int gdt_mpr_test_busy __P((struct gdt_softc *));
+void gdt_mpr_copy_cmd(struct gdt_softc *, struct gdt_ccb *);
+u_int8_t gdt_mpr_get_status(struct gdt_softc *);
+void gdt_mpr_intr(struct gdt_softc *, struct gdt_intr_ctx *);
+void gdt_mpr_release_event(struct gdt_softc *);
+void gdt_mpr_set_sema0(struct gdt_softc *);
+int gdt_mpr_test_busy(struct gdt_softc *);
static device_method_t iir_pci_methods[] = {
/* Device interface */
OpenPOWER on IntegriCloud