summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/macppc/include')
-rw-r--r--sys/arch/macppc/include/adbsys.h14
-rw-r--r--sys/arch/macppc/include/autoconf.h17
-rw-r--r--sys/arch/macppc/include/bus.h158
-rw-r--r--sys/arch/macppc/include/db_machdep.h10
-rw-r--r--sys/arch/macppc/include/disklabel.h4
-rw-r--r--sys/arch/macppc/include/pmap.h4
-rw-r--r--sys/arch/macppc/include/powerpc.h22
-rw-r--r--sys/arch/macppc/include/z8530var.h20
8 files changed, 123 insertions, 126 deletions
diff --git a/sys/arch/macppc/include/adbsys.h b/sys/arch/macppc/include/adbsys.h
index 4457e598a7a..0daa86b47dc 100644
--- a/sys/arch/macppc/include/adbsys.h
+++ b/sys/arch/macppc/include/adbsys.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: adbsys.h,v 1.2 2001/10/03 14:45:37 drahn Exp $ */
+/* $OpenBSD: adbsys.h,v 1.3 2002/03/14 01:26:36 millert Exp $ */
/* $NetBSD: adbsys.h,v 1.4 2000/12/19 02:59:24 tsubai Exp $ */
/*-
@@ -171,14 +171,14 @@ typedef struct adb_listencmd_s{
} adb_listencmd_t;
#define ADBIOCLISTENCMD _IOW('A', 133, adb_listencmd_t)
-void adb_init __P((void));
+void adb_init(void);
#ifdef _KERNEL
-int adb_poweroff __P((void));
-void adb_restart __P((void));
-int CountADBs __P((void));
-void ADBReInit __P((void));
-int adb_read_date_time __P((unsigned long *));
+int adb_poweroff(void);
+void adb_restart(void);
+int CountADBs(void);
+void ADBReInit(void);
+int adb_read_date_time(unsigned long *);
#endif
#endif /* _ADBSYS_MACHINE_ */
diff --git a/sys/arch/macppc/include/autoconf.h b/sys/arch/macppc/include/autoconf.h
index f989d8707c6..137191816bb 100644
--- a/sys/arch/macppc/include/autoconf.h
+++ b/sys/arch/macppc/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.2 2001/09/15 01:42:55 mickey Exp $ */
+/* $OpenBSD: autoconf.h,v 1.3 2002/03/14 01:26:36 millert Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -53,17 +53,14 @@ extern int system_type;
/**/
struct confargs;
-typedef int (*intr_handler_t) __P((void *));
+typedef int (*intr_handler_t)(void *);
typedef struct bushook {
struct device *bh_dv;
int bh_type;
- void (*bh_intr_establish)
- __P((struct confargs *, intr_handler_t, void *));
- void (*bh_intr_disestablish)
- __P((struct confargs *));
- int (*bh_matchname)
- __P((struct confargs *, char *));
+ void (*bh_intr_establish)(struct confargs *, intr_handler_t, void *);
+ void (*bh_intr_disestablish)(struct confargs *);
+ int (*bh_matchname)(struct confargs *, char *);
} bushook_t;
#define BUS_MAIN 1 /* mainbus */
@@ -98,14 +95,14 @@ struct confargs {
void set_clockintr __P((void (*)(struct clockframe *)));
void set_iointr __P((void (*)(void *, int)));
-int badaddr __P((void *, u_int32_t));
+int badaddr(void *, u_int32_t);
void calc_delayconst(void);
void ofrootfound(void);
typedef int mac_intr_handle_t;
typedef void *(intr_establish_t) __P((void *, mac_intr_handle_t,
int, int, int (*func)(void *), void *, char *));
-typedef void (intr_disestablish_t) __P((void *, void *));
+typedef void (intr_disestablish_t)(void *, void *);
intr_establish_t mac_intr_establish;
intr_disestablish_t mac_intr_disestablish;
diff --git a/sys/arch/macppc/include/bus.h b/sys/arch/macppc/include/bus.h
index c377b90e679..757d8bb0a90 100644
--- a/sys/arch/macppc/include/bus.h
+++ b/sys/arch/macppc/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.4 2002/03/07 18:08:08 jason Exp $ */
+/* $OpenBSD: bus.h,v 1.5 2002/03/14 01:26:36 millert Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom. All rights reserved.
@@ -64,18 +64,18 @@ extern struct ppc_bus_space ppc_isa_io, ppc_isa_mem;
/*
* Access methods for bus resources
*/
-int bus_space_map __P((bus_space_tag_t t, bus_addr_t addr,
- bus_size_t size, int cacheable, bus_space_handle_t *bshp));
-void bus_space_unmap __P((bus_space_tag_t t, bus_space_handle_t bsh,
- bus_size_t size));
-int bus_space_subregion __P((bus_space_tag_t t, bus_space_handle_t bsh,
- bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp));
-int bus_space_alloc __P((bus_space_tag_t tag, bus_addr_t rstart,
+int bus_space_map(bus_space_tag_t t, bus_addr_t addr,
+ bus_size_t size, int cacheable, bus_space_handle_t *bshp);
+void bus_space_unmap(bus_space_tag_t t, bus_space_handle_t bsh,
+ bus_size_t size);
+int bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh,
+ bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp);
+int bus_space_alloc(bus_space_tag_t tag, bus_addr_t rstart,
bus_addr_t rend, bus_size_t size, bus_size_t alignment,
bus_size_t boundary, int cacheable, bus_addr_t *addrp,
- bus_space_handle_t *handlep));
-void bus_space_free __P((bus_space_tag_t tag, bus_space_handle_t handle,
- bus_size_t size));
+ bus_space_handle_t *handlep);
+void bus_space_free(bus_space_tag_t tag, bus_space_handle_t handle,
+ bus_size_t size);
#define bus_space_read(n,m) \
static __inline CAT3(u_int,m,_t) \
@@ -145,9 +145,9 @@ bus_space_write_multi(4,32)
#define bus_space_write_multi_8 !!! bus_space_write_multi_8 not implemented !!!
/*
- * void bus_space_read_region_N __P((bus_space_tag_t tag,
+ * void bus_space_read_region_N(bus_space_tag_t tag,
* bus_space_handle_t bsh, bus_size_t offset,
- * u_intN_t *addr, size_t count));
+ * u_intN_t *addr, size_t count);
*
* Read `count' 1, 2, 4, or 8 byte quantities from bus space
* described by tag/handle and starting at `offset' and copy into
@@ -196,9 +196,9 @@ bus_space_read_region_4(bus_space_tag_t tag, bus_space_handle_t bsh,
/*
- * void bus_space_write_region_N __P((bus_space_tag_t tag,
+ * void bus_space_write_region_N(bus_space_tag_t tag,
* bus_space_handle_t bsh, bus_size_t offset,
- * const u_intN_t *addr, size_t count));
+ * const u_intN_t *addr, size_t count);
*
* Write `count' 1, 2, 4, or 8 byte quantities from the buffer provided
* to bus space described by tag/handle starting at `offset'.
@@ -244,19 +244,19 @@ bus_space_write_region_4(bus_space_tag_t tag, bus_space_handle_t bsh,
#endif
/*
- * void bus_space_set_multi_N __P((bus_space_tag_t tag,
+ * void bus_space_set_multi_N(bus_space_tag_t tag,
* bus_space_handle_t bsh, bus_size_t offset, u_intN_t val,
- * size_t count));
+ * size_t count);
*
* Write the 1, 2, 4, or 8 byte value `val' to bus space described
* by tag/handle/offset `count' times.
*/
-static __inline void bus_space_set_multi_1 __P((bus_space_tag_t,
- bus_space_handle_t, bus_size_t, u_int8_t, size_t));
-static __inline void bus_space_set_multi_2 __P((bus_space_tag_t,
- bus_space_handle_t, bus_size_t, u_int16_t, size_t));
-static __inline void bus_space_set_multi_4 __P((bus_space_tag_t,
- bus_space_handle_t, bus_size_t, u_int32_t, size_t));
+static __inline void bus_space_set_multi_1(bus_space_tag_t,
+ bus_space_handle_t, bus_size_t, u_int8_t, size_t);
+static __inline void bus_space_set_multi_2(bus_space_tag_t,
+ bus_space_handle_t, bus_size_t, u_int16_t, size_t);
+static __inline void bus_space_set_multi_4(bus_space_tag_t,
+ bus_space_handle_t, bus_size_t, u_int32_t, size_t);
static __inline void
bus_space_set_multi_1(tag, bsh, offset, val, count)
@@ -333,35 +333,35 @@ bus_space_write_raw_multi_4(bus_space_tag_t bst, bus_space_handle_t bsh,
!!! bus_space_write_raw_multi_8 not implemented !!!
void
-bus_space_set_region_1 __P((void *v, bus_space_handle_t h, bus_size_t o,
- u_int8_t val, bus_size_t c));
+bus_space_set_region_1(void *v, bus_space_handle_t h, bus_size_t o,
+ u_int8_t val, bus_size_t c);
void
-bus_space_set_region_2 __P((void *v, bus_space_handle_t h, bus_size_t o,
- u_int16_t val, bus_size_t c));
+bus_space_set_region_2(void *v, bus_space_handle_t h, bus_size_t o,
+ u_int16_t val, bus_size_t c);
void
-bus_space_set_region_4 __P((void *v, bus_space_handle_t h, bus_size_t o,
- u_int32_t val, bus_size_t c));
+bus_space_set_region_4(void *v, bus_space_handle_t h, bus_size_t o,
+ u_int32_t val, bus_size_t c);
#define bus_space_set_region_8 \
!!! bus_space_write_raw_multi_8 not implemented !!!
void
-bus_space_copy_1 __P((void *v, bus_space_handle_t h1, bus_space_handle_t h2,
- bus_size_t o1, bus_size_t o2, bus_size_t c));
+bus_space_copy_1(void *v, bus_space_handle_t h1, bus_space_handle_t h2,
+ bus_size_t o1, bus_size_t o2, bus_size_t c);
void
-bus_space_copy_2 __P((void *v, bus_space_handle_t h1, bus_space_handle_t h2,
- bus_size_t o1, bus_size_t o2, bus_size_t c));
+bus_space_copy_2(void *v, bus_space_handle_t h1, bus_space_handle_t h2,
+ bus_size_t o1, bus_size_t o2, bus_size_t c);
void
-bus_space_copy_4 __P((void *v, bus_space_handle_t h1, bus_space_handle_t h2,
- bus_size_t o1, bus_size_t o2, bus_size_t c));
+bus_space_copy_4(void *v, bus_space_handle_t h1, bus_space_handle_t h2,
+ bus_size_t o1, bus_size_t o2, bus_size_t c);
#define bus_space_copy_8 \
!!! bus_space_write_raw_multi_8 not implemented !!!
/*
* Bus read/write barrier methods.
*
- * void bus_space_barrier __P((bus_space_tag_t tag,
+ * void bus_space_barrier(bus_space_tag_t tag,
* bus_space_handle_t bsh, bus_size_t offset,
- * bus_size_t len, int flags));
+ * bus_size_t len, int flags);
*
* Note: powerpc does not currently implement barriers, but we must
* provide the flags to MI code.
@@ -430,32 +430,32 @@ struct powerpc_bus_dma_tag {
/*
* DMA mapping methods.
*/
- int (*_dmamap_create) __P((bus_dma_tag_t , bus_size_t, int,
- bus_size_t, bus_size_t, int, bus_dmamap_t *));
- void (*_dmamap_destroy) __P((bus_dma_tag_t , bus_dmamap_t));
- int (*_dmamap_load) __P((bus_dma_tag_t , bus_dmamap_t, void *,
- bus_size_t, struct proc *, int));
- int (*_dmamap_load_mbuf) __P((bus_dma_tag_t , bus_dmamap_t,
- struct mbuf *, int));
- int (*_dmamap_load_uio) __P((bus_dma_tag_t , bus_dmamap_t,
- struct uio *, int));
- int (*_dmamap_load_raw) __P((bus_dma_tag_t , bus_dmamap_t,
- bus_dma_segment_t *, int, bus_size_t, int));
- void (*_dmamap_unload) __P((bus_dma_tag_t , bus_dmamap_t));
- void (*_dmamap_sync) __P((bus_dma_tag_t , bus_dmamap_t,
- bus_addr_t, bus_size_t, int));
+ int (*_dmamap_create)(bus_dma_tag_t , bus_size_t, int,
+ bus_size_t, bus_size_t, int, bus_dmamap_t *);
+ void (*_dmamap_destroy)(bus_dma_tag_t , bus_dmamap_t);
+ int (*_dmamap_load)(bus_dma_tag_t , bus_dmamap_t, void *,
+ bus_size_t, struct proc *, int);
+ int (*_dmamap_load_mbuf)(bus_dma_tag_t , bus_dmamap_t,
+ struct mbuf *, int);
+ int (*_dmamap_load_uio)(bus_dma_tag_t , bus_dmamap_t,
+ struct uio *, int);
+ int (*_dmamap_load_raw)(bus_dma_tag_t , bus_dmamap_t,
+ bus_dma_segment_t *, int, bus_size_t, int);
+ void (*_dmamap_unload)(bus_dma_tag_t , bus_dmamap_t);
+ void (*_dmamap_sync)(bus_dma_tag_t , bus_dmamap_t,
+ bus_addr_t, bus_size_t, int);
/*
* DMA memory utility functions.
*/
- int (*_dmamem_alloc) __P((bus_dma_tag_t, bus_size_t, bus_size_t,
- bus_size_t, bus_dma_segment_t *, int, int *, int));
- void (*_dmamem_free) __P((bus_dma_tag_t, bus_dma_segment_t *, int));
- int (*_dmamem_map) __P((bus_dma_tag_t, bus_dma_segment_t *,
- int, size_t, caddr_t *, int));
- void (*_dmamem_unmap) __P((bus_dma_tag_t, caddr_t, size_t));
- paddr_t (*_dmamem_mmap) __P((bus_dma_tag_t, bus_dma_segment_t *,
- int, off_t, int, int));
+ int (*_dmamem_alloc)(bus_dma_tag_t, bus_size_t, bus_size_t,
+ bus_size_t, bus_dma_segment_t *, int, int *, int);
+ void (*_dmamem_free)(bus_dma_tag_t, bus_dma_segment_t *, int);
+ int (*_dmamem_map)(bus_dma_tag_t, bus_dma_segment_t *,
+ int, size_t, caddr_t *, int);
+ void (*_dmamem_unmap)(bus_dma_tag_t, caddr_t, size_t);
+ paddr_t (*_dmamem_mmap)(bus_dma_tag_t, bus_dma_segment_t *,
+ int, off_t, int, int);
};
#define bus_dmamap_create(t, s, n, m, b, f, p) \
@@ -487,26 +487,26 @@ struct powerpc_bus_dma_tag {
#define bus_dmamem_mmap(t, sg, n, o, p, f) \
(*(t)->_dmamem_mmap)((t)->_cookie, (sg), (n), (o), (p), (f))
-int _dmamap_create __P((bus_dma_tag_t, bus_size_t, int,
- bus_size_t, bus_size_t, int, bus_dmamap_t *));
-void _dmamap_destroy __P((bus_dma_tag_t, bus_dmamap_t));
-int _dmamap_load __P((bus_dma_tag_t, bus_dmamap_t, void *,
- bus_size_t, struct proc *, int));
-int _dmamap_load_mbuf __P((bus_dma_tag_t, bus_dmamap_t, struct mbuf *, int));
-int _dmamap_load_uio __P((bus_dma_tag_t, bus_dmamap_t, struct uio *, int));
-int _dmamap_load_raw __P((bus_dma_tag_t, bus_dmamap_t,
- bus_dma_segment_t *, int, bus_size_t, int));
-void _dmamap_unload __P((bus_dma_tag_t, bus_dmamap_t));
-void _dmamap_sync __P((bus_dma_tag_t, bus_dmamap_t, bus_addr_t, bus_size_t,
- int));
-
-int _dmamem_alloc __P((bus_dma_tag_t, bus_size_t, bus_size_t,
- bus_size_t, bus_dma_segment_t *, int, int *, int));
-void _dmamem_free __P((bus_dma_tag_t, bus_dma_segment_t *, int));
-int _dmamem_map __P((bus_dma_tag_t, bus_dma_segment_t *,
- int, size_t, caddr_t *, int));
-void _dmamem_unmap __P((bus_dma_tag_t, caddr_t, size_t));
-paddr_t _dmamem_mmap __P((bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int));
+int _dmamap_create(bus_dma_tag_t, bus_size_t, int,
+ bus_size_t, bus_size_t, int, bus_dmamap_t *);
+void _dmamap_destroy(bus_dma_tag_t, bus_dmamap_t);
+int _dmamap_load(bus_dma_tag_t, bus_dmamap_t, void *,
+ bus_size_t, struct proc *, int);
+int _dmamap_load_mbuf(bus_dma_tag_t, bus_dmamap_t, struct mbuf *, int);
+int _dmamap_load_uio(bus_dma_tag_t, bus_dmamap_t, struct uio *, int);
+int _dmamap_load_raw(bus_dma_tag_t, bus_dmamap_t,
+ bus_dma_segment_t *, int, bus_size_t, int);
+void _dmamap_unload(bus_dma_tag_t, bus_dmamap_t);
+void _dmamap_sync(bus_dma_tag_t, bus_dmamap_t, bus_addr_t, bus_size_t,
+ int);
+
+int _dmamem_alloc(bus_dma_tag_t, bus_size_t, bus_size_t,
+ bus_size_t, bus_dma_segment_t *, int, int *, int);
+void _dmamem_free(bus_dma_tag_t, bus_dma_segment_t *, int);
+int _dmamem_map(bus_dma_tag_t, bus_dma_segment_t *,
+ int, size_t, caddr_t *, int);
+void _dmamem_unmap(bus_dma_tag_t, caddr_t, size_t);
+paddr_t _dmamem_mmap(bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int);
/*
* bus_dmamap_t
diff --git a/sys/arch/macppc/include/db_machdep.h b/sys/arch/macppc/include/db_machdep.h
index 1b1de590573..8729634e918 100644
--- a/sys/arch/macppc/include/db_machdep.h
+++ b/sys/arch/macppc/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.2 2001/11/06 00:30:38 art Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.3 2002/03/14 01:26:36 millert Exp $ */
/* $NetBSD: db_machdep.h,v 1.13 1996/04/29 20:50:08 leo Exp $ */
/*
@@ -92,11 +92,11 @@ db_regs_t ddb_regs; /* register state */
#ifdef _KERNEL
-void kdb_kintr __P((void *));
-int kdb_trap __P((int, void *));
+void kdb_kintr(void *);
+int kdb_trap(int, void *);
void db_save_regs(struct trapframe *frame);
-void ddb_trap __P((void));
-db_expr_t db_dumpframe __P((u_int32_t pframe));
+void ddb_trap(void);
+db_expr_t db_dumpframe(u_int32_t pframe);
#endif /* _KERNEL */
diff --git a/sys/arch/macppc/include/disklabel.h b/sys/arch/macppc/include/disklabel.h
index b3e13648d3f..300836b658a 100644
--- a/sys/arch/macppc/include/disklabel.h
+++ b/sys/arch/macppc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.1 2001/09/01 15:49:06 drahn Exp $ */
+/* $OpenBSD: disklabel.h,v 1.2 2002/03/14 01:26:36 millert Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -84,7 +84,7 @@ struct dos_partition {
#define DPSECT(s) ((s) & 0x3f)
#define DPCYL(c, s) ((c) + (((s) & 0xc0) << 2))
-static __inline u_int32_t get_le __P((void *p));
+static __inline u_int32_t get_le(void *p);
static __inline u_int32_t
#ifdef __cplusplus
diff --git a/sys/arch/macppc/include/pmap.h b/sys/arch/macppc/include/pmap.h
index ff16bfbf647..86ae405a116 100644
--- a/sys/arch/macppc/include/pmap.h
+++ b/sys/arch/macppc/include/pmap.h
@@ -1,7 +1,7 @@
-/* $OpenBSD: pmap.h,v 1.3 2001/09/10 17:48:09 drahn Exp $ */
+/* $OpenBSD: pmap.h,v 1.4 2002/03/14 01:26:36 millert Exp $ */
#include <powerpc/pmap.h>
#ifndef _LOCORE
-paddr_t vtophys __P((vaddr_t));
+paddr_t vtophys(vaddr_t);
#endif /* _LOCORE */
diff --git a/sys/arch/macppc/include/powerpc.h b/sys/arch/macppc/include/powerpc.h
index 937dab7c7f3..e5cb3674d17 100644
--- a/sys/arch/macppc/include/powerpc.h
+++ b/sys/arch/macppc/include/powerpc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: powerpc.h,v 1.1 2001/09/01 15:49:06 drahn Exp $ */
+/* $OpenBSD: powerpc.h,v 1.2 2002/03/14 01:26:36 millert Exp $ */
/* $NetBSD: powerpc.h,v 1.1 1996/09/30 16:34:30 ws Exp $ */
/*
@@ -39,16 +39,16 @@ struct mem_region {
vm_size_t size;
};
-void mem_regions __P((struct mem_region **, struct mem_region **));
+void mem_regions(struct mem_region **, struct mem_region **);
/*
* These two functions get used solely in boot() in machdep.c.
*
* Not sure whether boot itself should be implementation dependent instead. XXX
*/
-typedef void (exit_f) __P((void)) /*__attribute__((__noreturn__))*/ ;
-typedef void (boot_f) __P((char *bootspec)) /* __attribute__((__noreturn__))*/ ;
-typedef void (vmon_f) __P((void));
+typedef void (exit_f)(void) /*__attribute__((__noreturn__))*/ ;
+typedef void (boot_f)(char *bootspec) /* __attribute__((__noreturn__))*/ ;
+typedef void (vmon_f)(void);
/* firmware interface.
* regardless of type of firmware used several items
@@ -62,8 +62,8 @@ typedef void (vmon_f) __P((void));
* vmon - tell firmware the bsd vm is active.
*/
-typedef void (mem_regions_f)__P((struct mem_region **memp,
- struct mem_region **availp));
+typedef void (mem_regions_f)(struct mem_region **memp,
+ struct mem_region **availp);
struct firmware {
mem_regions_f *mem_regions;
@@ -77,10 +77,10 @@ struct firmware {
};
extern struct firmware *fw;
void ofwconprobe(void);
-int ppc_open_pci_bridge __P((void));
-void ppc_close_pci_bridge __P((int));
+int ppc_open_pci_bridge(void);
+void ppc_close_pci_bridge(int);
void install_extint __P((void (*handler) (void)));
-void ppc_intr_enable __P((int enable));
-int ppc_intr_disable __P((void));
+void ppc_intr_enable(int enable);
+int ppc_intr_disable(void);
#endif /* _MACHINE_POWERPC_H_ */
diff --git a/sys/arch/macppc/include/z8530var.h b/sys/arch/macppc/include/z8530var.h
index 9e383d6ec12..cb0fe2bd2ed 100644
--- a/sys/arch/macppc/include/z8530var.h
+++ b/sys/arch/macppc/include/z8530var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530var.h,v 1.1 2001/09/26 22:45:43 mickey Exp $ */
+/* $OpenBSD: z8530var.h,v 1.2 2002/03/14 01:26:36 millert Exp $ */
/* $NetBSD: z8530var.h,v 1.1 1998/05/15 10:15:57 tsubai Exp $ */
/*
@@ -116,28 +116,28 @@ struct zsc_softc {
* XXX - no one seems to want to try and check this -wrs
*/
-u_char zs_read_reg __P((struct zs_chanstate *cs, u_char reg));
-u_char zs_read_csr __P((struct zs_chanstate *cs));
-u_char zs_read_data __P((struct zs_chanstate *cs));
+u_char zs_read_reg(struct zs_chanstate *cs, u_char reg);
+u_char zs_read_csr(struct zs_chanstate *cs);
+u_char zs_read_data(struct zs_chanstate *cs);
-void zs_write_reg __P((struct zs_chanstate *cs, u_char reg, u_char val));
-void zs_write_csr __P((struct zs_chanstate *cs, u_char val));
-void zs_write_data __P((struct zs_chanstate *cs, u_char val));
+void zs_write_reg(struct zs_chanstate *cs, u_char reg, u_char val);
+void zs_write_csr(struct zs_chanstate *cs, u_char val);
+void zs_write_data(struct zs_chanstate *cs, u_char val);
/* XXX - Could define splzs() here instead of in psl.h */
#define splzs spltty
/* Hook for MD ioctl support */
-int zsmdioctl __P((struct zs_chanstate *cs, u_long cmd, caddr_t data));
+int zsmdioctl(struct zs_chanstate *cs, u_long cmd, caddr_t data);
/* XXX - This is a bit gross... */
#define ZS_MD_IOCTL zsmdioctl(cs, cmd, data)
/* Callback for "external" clock sources */
-void zsmd_setclock __P((struct zs_chanstate *cs));
+void zsmd_setclock(struct zs_chanstate *cs);
#define ZS_MD_SETCLK(cs) zsmd_setclock(cs)
#define zsc_req_softint(zsc) (void)(zsc)
-void zs_abort __P((void));
+void zs_abort(void);
#define ZSTTY_MAJOR 7