diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/sparc/dev/be.c | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/sparc/dev/be.c')
-rw-r--r-- | sys/arch/sparc/dev/be.c | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/sys/arch/sparc/dev/be.c b/sys/arch/sparc/dev/be.c index 8487b6f0f91..b32ed103c4a 100644 --- a/sys/arch/sparc/dev/be.c +++ b/sys/arch/sparc/dev/be.c @@ -1,4 +1,4 @@ -/* $OpenBSD: be.c,v 1.30 2002/02/08 19:05:25 jason Exp $ */ +/* $OpenBSD: be.c,v 1.31 2002/03/14 01:26:42 millert Exp $ */ /* * Copyright (c) 1998 Theo de Raadt and Jason L. Wright. @@ -70,33 +70,33 @@ #include <sparc/dev/bereg.h> #include <sparc/dev/bevar.h> -int bematch __P((struct device *, void *, void *)); -void beattach __P((struct device *, struct device *, void *)); - -void beinit __P((struct besoftc *)); -void bestart __P((struct ifnet *)); -void bestop __P((struct besoftc *)); -void bewatchdog __P((struct ifnet *)); -int beioctl __P((struct ifnet *, u_long, caddr_t)); -void bereset __P((struct besoftc *)); - -int beintr __P((void *)); -int berint __P((struct besoftc *)); -int betint __P((struct besoftc *)); -int beqint __P((struct besoftc *, u_int32_t)); -int beeint __P((struct besoftc *, u_int32_t)); -void be_read __P((struct besoftc *, int, int)); - -void be_tcvr_idle __P((struct besoftc *)); -void be_tcvr_init __P((struct besoftc *)); -void be_tcvr_write __P((struct besoftc *, u_int8_t, u_int16_t)); -void be_tcvr_write_bit __P((struct besoftc *, int)); -int be_tcvr_read_bit1 __P((struct besoftc *)); -int be_tcvr_read_bit2 __P((struct besoftc *)); -int be_tcvr_read __P((struct besoftc *, u_int8_t)); -void be_ifmedia_sts __P((struct ifnet *, struct ifmediareq *)); -int be_ifmedia_upd __P((struct ifnet *)); -void be_mcreset __P((struct besoftc *)); +int bematch(struct device *, void *, void *); +void beattach(struct device *, struct device *, void *); + +void beinit(struct besoftc *); +void bestart(struct ifnet *); +void bestop(struct besoftc *); +void bewatchdog(struct ifnet *); +int beioctl(struct ifnet *, u_long, caddr_t); +void bereset(struct besoftc *); + +int beintr(void *); +int berint(struct besoftc *); +int betint(struct besoftc *); +int beqint(struct besoftc *, u_int32_t); +int beeint(struct besoftc *, u_int32_t); +void be_read(struct besoftc *, int, int); + +void be_tcvr_idle(struct besoftc *); +void be_tcvr_init(struct besoftc *); +void be_tcvr_write(struct besoftc *, u_int8_t, u_int16_t); +void be_tcvr_write_bit(struct besoftc *, int); +int be_tcvr_read_bit1(struct besoftc *); +int be_tcvr_read_bit2(struct besoftc *); +int be_tcvr_read(struct besoftc *, u_int8_t); +void be_ifmedia_sts(struct ifnet *, struct ifmediareq *); +int be_ifmedia_upd(struct ifnet *); +void be_mcreset(struct besoftc *); struct cfdriver be_cd = { NULL, "be", DV_IFNET @@ -130,7 +130,7 @@ beattach(parent, self, aux) struct ifnet *ifp = &sc->sc_arpcom.ac_if; struct confargs *ca = aux; struct bootpath *bp; - extern void myetheraddr __P((u_char *)); + extern void myetheraddr(u_char *); int pri, bmsr; if (ca->ca_ra.ra_nintr != 1) { |