diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-20 02:08:01 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-20 02:08:01 +0000 |
commit | 3264aec746947db8598130cb0ac382cf0b2a10cf (patch) | |
tree | 13b2f09af75205c81c286aaf60527ae3de623e14 /sys/dev/stg | |
parent | e8f7a49843febbd1d96e06f28e56160c942029dd (diff) | |
download | FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.zip FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.tar.gz |
Remove __P.
Diffstat (limited to 'sys/dev/stg')
-rw-r--r-- | sys/dev/stg/tmc18c30.c | 46 | ||||
-rw-r--r-- | sys/dev/stg/tmc18c30_isa.c | 2 | ||||
-rw-r--r-- | sys/dev/stg/tmc18c30_pccard.c | 2 | ||||
-rw-r--r-- | sys/dev/stg/tmc18c30var.h | 8 |
4 files changed, 29 insertions, 29 deletions
diff --git a/sys/dev/stg/tmc18c30.c b/sys/dev/stg/tmc18c30.c index 39dd222..2798de4 100644 --- a/sys/dev/stg/tmc18c30.c +++ b/sys/dev/stg/tmc18c30.c @@ -145,29 +145,29 @@ extern struct cfdriver stg_cd; * DECLARE **************************************************************/ /* static */ -static void stg_pio_read __P((struct stg_softc *, struct targ_info *, u_int)); -static void stg_pio_write __P((struct stg_softc *, struct targ_info *, u_int)); -static int stg_xfer __P((struct stg_softc *, u_int8_t *, int, int, int)); -static int stg_msg __P((struct stg_softc *, struct targ_info *, u_int)); -static int stg_reselected __P((struct stg_softc *)); -static int stg_disconnected __P((struct stg_softc *, struct targ_info *)); -static __inline void stg_pdma_end __P((struct stg_softc *, struct targ_info *)); -static int stghw_select_targ_wait __P((struct stg_softc *, int)); -static int stghw_check __P((struct stg_softc *)); -static void stghw_init __P((struct stg_softc *)); -static int stg_negate_signal __P((struct stg_softc *, u_int8_t, u_char *)); -static int stg_expect_signal __P((struct stg_softc *, u_int8_t, u_int8_t)); -static int stg_world_start __P((struct stg_softc *, int)); -static int stghw_start_selection __P((struct stg_softc *sc, struct slccb *)); -static void stghw_bus_reset __P((struct stg_softc *)); -static void stghw_attention __P((struct stg_softc *)); -static int stg_target_nexus_establish __P((struct stg_softc *)); -static int stg_lun_nexus_establish __P((struct stg_softc *)); -static int stg_ccb_nexus_establish __P((struct stg_softc *)); -static int stg_targ_init __P((struct stg_softc *, struct targ_info *, int)); -static __inline void stghw_bcr_write_1 __P((struct stg_softc *, u_int8_t)); -static int stg_timeout __P((struct stg_softc *)); -static void stg_selection_done_and_expect_msgout __P((struct stg_softc *)); +static void stg_pio_read(struct stg_softc *, struct targ_info *, u_int); +static void stg_pio_write(struct stg_softc *, struct targ_info *, u_int); +static int stg_xfer(struct stg_softc *, u_int8_t *, int, int, int); +static int stg_msg(struct stg_softc *, struct targ_info *, u_int); +static int stg_reselected(struct stg_softc *); +static int stg_disconnected(struct stg_softc *, struct targ_info *); +static __inline void stg_pdma_end(struct stg_softc *, struct targ_info *); +static int stghw_select_targ_wait(struct stg_softc *, int); +static int stghw_check(struct stg_softc *); +static void stghw_init(struct stg_softc *); +static int stg_negate_signal(struct stg_softc *, u_int8_t, u_char *); +static int stg_expect_signal(struct stg_softc *, u_int8_t, u_int8_t); +static int stg_world_start(struct stg_softc *, int); +static int stghw_start_selection(struct stg_softc *sc, struct slccb *); +static void stghw_bus_reset(struct stg_softc *); +static void stghw_attention(struct stg_softc *); +static int stg_target_nexus_establish(struct stg_softc *); +static int stg_lun_nexus_establish(struct stg_softc *); +static int stg_ccb_nexus_establish(struct stg_softc *); +static int stg_targ_init(struct stg_softc *, struct targ_info *, int); +static __inline void stghw_bcr_write_1(struct stg_softc *, u_int8_t); +static int stg_timeout(struct stg_softc *); +static void stg_selection_done_and_expect_msgout(struct stg_softc *); struct scsi_low_funcs stgfuncs = { SC_LOW_INIT_T stg_world_start, diff --git a/sys/dev/stg/tmc18c30_isa.c b/sys/dev/stg/tmc18c30_isa.c index 97fea9c..6a75ad9 100644 --- a/sys/dev/stg/tmc18c30_isa.c +++ b/sys/dev/stg/tmc18c30_isa.c @@ -81,7 +81,7 @@ static int stgprobe(device_t devi); static int stgattach(device_t devi); -static void stg_isa_unload __P((device_t)); +static void stg_isa_unload (device_t); static void stg_isa_intr(void * arg) diff --git a/sys/dev/stg/tmc18c30_pccard.c b/sys/dev/stg/tmc18c30_pccard.c index 72d60e9..a06cc13 100644 --- a/sys/dev/stg/tmc18c30_pccard.c +++ b/sys/dev/stg/tmc18c30_pccard.c @@ -77,7 +77,7 @@ static int stgprobe(DEVPORT_PDEVICE devi); static int stgattach(DEVPORT_PDEVICE devi); -static void stg_card_unload __P((DEVPORT_PDEVICE)); +static void stg_card_unload (DEVPORT_PDEVICE); /* * Additional code for FreeBSD new-bus PCCard frontend diff --git a/sys/dev/stg/tmc18c30var.h b/sys/dev/stg/tmc18c30var.h index 021c622..99707c7 100644 --- a/sys/dev/stg/tmc18c30var.h +++ b/sys/dev/stg/tmc18c30var.h @@ -98,10 +98,10 @@ struct stg_targ_info { /***************************************************************** * Proto *****************************************************************/ -int stgprobesubr __P((bus_space_tag_t, bus_space_handle_t, u_int)); -void stgattachsubr __P((struct stg_softc *)); -int stgprint __P((void *, const char *)); -int stgintr __P((void *)); +int stgprobesubr(bus_space_tag_t, bus_space_handle_t, u_int); +void stgattachsubr(struct stg_softc *); +int stgprint(void *, const char *); +int stgintr(void *); #if defined(i386) #define SOFT_INTR_REQUIRED(slp) (softintr((slp)->sl_irq)) |