diff options
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r-- | sys/dev/hfa/fore_buffer.c | 6 | ||||
-rw-r--r-- | sys/dev/hfa/fore_include.h | 56 | ||||
-rw-r--r-- | sys/dev/hfa/fore_init.c | 4 | ||||
-rw-r--r-- | sys/dev/hfa/fore_load.c | 14 | ||||
-rw-r--r-- | sys/dev/hfa/fore_output.c | 6 | ||||
-rw-r--r-- | sys/dev/hfa/fore_receive.c | 2 |
6 files changed, 44 insertions, 44 deletions
diff --git a/sys/dev/hfa/fore_buffer.c b/sys/dev/hfa/fore_buffer.c index d0e6b1a..74fec2c 100644 --- a/sys/dev/hfa/fore_buffer.c +++ b/sys/dev/hfa/fore_buffer.c @@ -71,9 +71,9 @@ __RCSID("@(#) $FreeBSD$"); /* * Local functions */ -static void fore_buf_drain __P((Fore_unit *)); -static void fore_buf_supply_1s __P((Fore_unit *)); -static void fore_buf_supply_1l __P((Fore_unit *)); +static void fore_buf_drain(Fore_unit *); +static void fore_buf_supply_1s(Fore_unit *); +static void fore_buf_supply_1l(Fore_unit *); /* diff --git a/sys/dev/hfa/fore_include.h b/sys/dev/hfa/fore_include.h index a1b6391..0c102f1 100644 --- a/sys/dev/hfa/fore_include.h +++ b/sys/dev/hfa/fore_include.h @@ -42,56 +42,56 @@ * Global function declarations */ /* fore_buffer.c */ -int fore_buf_allocate __P((Fore_unit *)); -void fore_buf_initialize __P((Fore_unit *)); -void fore_buf_supply __P((Fore_unit *)); -void fore_buf_free __P((Fore_unit *)); +int fore_buf_allocate(Fore_unit *); +void fore_buf_initialize(Fore_unit *); +void fore_buf_supply(Fore_unit *); +void fore_buf_free(Fore_unit *); /* fore_command.c */ -int fore_cmd_allocate __P((Fore_unit *)); -void fore_cmd_initialize __P((Fore_unit *)); -void fore_cmd_drain __P((Fore_unit *)); -void fore_cmd_free __P((Fore_unit *)); +int fore_cmd_allocate(Fore_unit *); +void fore_cmd_initialize(Fore_unit *); +void fore_cmd_drain(Fore_unit *); +void fore_cmd_free(Fore_unit *); /* fore_if.c */ -int fore_atm_ioctl __P((int, caddr_t, caddr_t)); -void fore_interface_free __P((Fore_unit *)); +int fore_atm_ioctl(int, caddr_t, caddr_t); +void fore_interface_free(Fore_unit *); /* fore_init.c */ -void fore_initialize __P((Fore_unit *)); -void fore_initialize_complete __P((Fore_unit *)); +void fore_initialize(Fore_unit *); +void fore_initialize_complete(Fore_unit *); /* fore_intr.c */ -void fore_intr __P((void *)); -void fore_watchdog __P((Fore_unit *)); +void fore_intr(void *); +void fore_watchdog(Fore_unit *); /* fore_load.c */ /* fore_output.c */ -void fore_output __P((Cmn_unit *, Cmn_vcc *, KBuffer *)); +void fore_output(Cmn_unit *, Cmn_vcc *, KBuffer *); /* fore_receive.c */ -int fore_recv_allocate __P((Fore_unit *)); -void fore_recv_initialize __P((Fore_unit *)); -void fore_recv_drain __P((Fore_unit *)); -void fore_recv_free __P((Fore_unit *)); +int fore_recv_allocate(Fore_unit *); +void fore_recv_initialize(Fore_unit *); +void fore_recv_drain(Fore_unit *); +void fore_recv_free(Fore_unit *); /* fore_stats.c */ -int fore_get_stats __P((Fore_unit *)); +int fore_get_stats(Fore_unit *); /* fore_timer.c */ -void fore_timeout __P((struct atm_time *)); +void fore_timeout(struct atm_time *); /* fore_transmit.c */ -int fore_xmit_allocate __P((Fore_unit *)); -void fore_xmit_initialize __P((Fore_unit *)); -void fore_xmit_drain __P((Fore_unit *)); -void fore_xmit_free __P((Fore_unit *)); +int fore_xmit_allocate(Fore_unit *); +void fore_xmit_initialize(Fore_unit *); +void fore_xmit_drain(Fore_unit *); +void fore_xmit_free(Fore_unit *); /* fore_vcm.c */ -int fore_instvcc __P((Cmn_unit *, Cmn_vcc *)); -int fore_openvcc __P((Cmn_unit *, Cmn_vcc *)); -int fore_closevcc __P((Cmn_unit *, Cmn_vcc *)); +int fore_instvcc(Cmn_unit *, Cmn_vcc *); +int fore_openvcc(Cmn_unit *, Cmn_vcc *); +int fore_closevcc(Cmn_unit *, Cmn_vcc *); /* diff --git a/sys/dev/hfa/fore_init.c b/sys/dev/hfa/fore_init.c index edfc4b9..35fe207 100644 --- a/sys/dev/hfa/fore_init.c +++ b/sys/dev/hfa/fore_init.c @@ -70,7 +70,7 @@ __RCSID("@(#) $FreeBSD$"); /* * Local functions */ -static void fore_get_prom __P((Fore_unit *)); +static void fore_get_prom(Fore_unit *); /* @@ -105,7 +105,7 @@ fore_initialize(fup) * Try again later */ fup->fu_thandle = - timeout((KTimeout_ret(*) __P((void *)))fore_initialize, + timeout((KTimeout_ret(*)(void *))fore_initialize, (void *)fup, hz); return; } else diff --git a/sys/dev/hfa/fore_load.c b/sys/dev/hfa/fore_load.c index f50e031..4889736 100644 --- a/sys/dev/hfa/fore_load.c +++ b/sys/dev/hfa/fore_load.c @@ -74,12 +74,12 @@ __RCSID("@(#) $FreeBSD$"); /* * Local functions */ -static int fore_start __P((void)); -static const char * fore_pci_probe __P((pcici_t, pcidi_t)); -static void fore_pci_attach __P((pcici_t, int)); -static void fore_pci_shutdown __P((void *, int)); -static void fore_unattach __P((Fore_unit *)); -static void fore_reset __P((Fore_unit *)); +static int fore_start(void); +static const char * fore_pci_probe(pcici_t, pcidi_t); +static void fore_pci_attach(pcici_t, int); +static void fore_pci_shutdown(void *, int); +static void fore_unattach(Fore_unit *); +static void fore_reset(Fore_unit *); #ifndef COMPAT_OLDPCI #error "The fore device requires the old pci compatibility shims" @@ -461,7 +461,7 @@ fore_unattach(fup) /* * Remove any pending timeout()'s */ - (void)untimeout((KTimeout_ret(*) __P((void *)))fore_initialize, + (void)untimeout((KTimeout_ret(*)(void *))fore_initialize, (void *)fup, fup->fu_thandle); diff --git a/sys/dev/hfa/fore_output.c b/sys/dev/hfa/fore_output.c index b18e0dc..2ff6032 100644 --- a/sys/dev/hfa/fore_output.c +++ b/sys/dev/hfa/fore_output.c @@ -71,9 +71,9 @@ __RCSID("@(#) $FreeBSD$"); /* * Local functions */ -static KBuffer * fore_xmit_segment __P((Fore_unit *, KBuffer *, - H_xmit_queue *, int *, int *)); -static void fore_seg_dma_free __P((H_xmit_queue *, KBuffer *, int)); +static KBuffer * fore_xmit_segment(Fore_unit *, KBuffer *, + H_xmit_queue *, int *, int *); +static void fore_seg_dma_free(H_xmit_queue *, KBuffer *, int); /* diff --git a/sys/dev/hfa/fore_receive.c b/sys/dev/hfa/fore_receive.c index fc718db..37a34ab 100644 --- a/sys/dev/hfa/fore_receive.c +++ b/sys/dev/hfa/fore_receive.c @@ -71,7 +71,7 @@ __RCSID("@(#) $FreeBSD$"); /* * Local functions */ -static void fore_recv_stack __P((void *, KBuffer *)); +static void fore_recv_stack(void *, KBuffer *); /* |