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/awi/am79c930.c | |
parent | e8f7a49843febbd1d96e06f28e56160c942029dd (diff) | |
download | FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.zip FreeBSD-src-3264aec746947db8598130cb0ac382cf0b2a10cf.tar.gz |
Remove __P.
Diffstat (limited to 'sys/dev/awi/am79c930.c')
-rw-r--r-- | sys/dev/awi/am79c930.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/sys/dev/awi/am79c930.c b/sys/dev/awi/am79c930.c index aa9c97f..8cb5ecd 100644 --- a/sys/dev/awi/am79c930.c +++ b/sys/dev/awi/am79c930.c @@ -88,27 +88,27 @@ #define AM930_DELAY(x) /*nothing*/ -void am79c930_regdump __P((struct am79c930_softc *sc)); - -static void io_write_1 __P((struct am79c930_softc *, u_int32_t, u_int8_t)); -static void io_write_2 __P((struct am79c930_softc *, u_int32_t, u_int16_t)); -static void io_write_4 __P((struct am79c930_softc *, u_int32_t, u_int32_t)); -static void io_write_bytes __P((struct am79c930_softc *, u_int32_t, u_int8_t *, size_t)); - -static u_int8_t io_read_1 __P((struct am79c930_softc *, u_int32_t)); -static u_int16_t io_read_2 __P((struct am79c930_softc *, u_int32_t)); -static u_int32_t io_read_4 __P((struct am79c930_softc *, u_int32_t)); -static void io_read_bytes __P((struct am79c930_softc *, u_int32_t, u_int8_t *, size_t)); - -static void mem_write_1 __P((struct am79c930_softc *, u_int32_t, u_int8_t)); -static void mem_write_2 __P((struct am79c930_softc *, u_int32_t, u_int16_t)); -static void mem_write_4 __P((struct am79c930_softc *, u_int32_t, u_int32_t)); -static void mem_write_bytes __P((struct am79c930_softc *, u_int32_t, u_int8_t *, size_t)); - -static u_int8_t mem_read_1 __P((struct am79c930_softc *, u_int32_t)); -static u_int16_t mem_read_2 __P((struct am79c930_softc *, u_int32_t)); -static u_int32_t mem_read_4 __P((struct am79c930_softc *, u_int32_t)); -static void mem_read_bytes __P((struct am79c930_softc *, u_int32_t, u_int8_t *, size_t)); +void am79c930_regdump(struct am79c930_softc *sc); + +static void io_write_1(struct am79c930_softc *, u_int32_t, u_int8_t); +static void io_write_2(struct am79c930_softc *, u_int32_t, u_int16_t); +static void io_write_4(struct am79c930_softc *, u_int32_t, u_int32_t); +static void io_write_bytes(struct am79c930_softc *, u_int32_t, u_int8_t *, size_t); + +static u_int8_t io_read_1(struct am79c930_softc *, u_int32_t); +static u_int16_t io_read_2(struct am79c930_softc *, u_int32_t); +static u_int32_t io_read_4(struct am79c930_softc *, u_int32_t); +static void io_read_bytes(struct am79c930_softc *, u_int32_t, u_int8_t *, size_t); + +static void mem_write_1(struct am79c930_softc *, u_int32_t, u_int8_t); +static void mem_write_2(struct am79c930_softc *, u_int32_t, u_int16_t); +static void mem_write_4(struct am79c930_softc *, u_int32_t, u_int32_t); +static void mem_write_bytes(struct am79c930_softc *, u_int32_t, u_int8_t *, size_t); + +static u_int8_t mem_read_1(struct am79c930_softc *, u_int32_t); +static u_int16_t mem_read_2(struct am79c930_softc *, u_int32_t); +static u_int32_t mem_read_4(struct am79c930_softc *, u_int32_t); +static void mem_read_bytes(struct am79c930_softc *, u_int32_t, u_int8_t *, size_t); static struct am79c930_ops iospace_ops = { io_write_1, |