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/vax/if | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/vax/if')
-rw-r--r-- | sys/arch/vax/if/if_de.c | 24 | ||||
-rw-r--r-- | sys/arch/vax/if/if_le.c | 18 | ||||
-rw-r--r-- | sys/arch/vax/if/if_qe.c | 20 | ||||
-rw-r--r-- | sys/arch/vax/if/if_uba.c | 8 | ||||
-rw-r--r-- | sys/arch/vax/if/if_uba.h | 12 | ||||
-rw-r--r-- | sys/arch/vax/if/if_ze.c | 6 | ||||
-rw-r--r-- | sys/arch/vax/if/sgec.c | 16 | ||||
-rw-r--r-- | sys/arch/vax/if/sgecvar.h | 6 |
8 files changed, 55 insertions, 55 deletions
diff --git a/sys/arch/vax/if/if_de.c b/sys/arch/vax/if/if_de.c index 3a3b16720a2..a446eaf2fc1 100644 --- a/sys/arch/vax/if/if_de.c +++ b/sys/arch/vax/if/if_de.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_de.c,v 1.11 2000/04/27 03:14:42 bjc Exp $ */ +/* $OpenBSD: if_de.c,v 1.12 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: if_de.c,v 1.27 1997/04/19 15:02:29 ragge Exp $ */ /* @@ -139,17 +139,17 @@ struct de_softc { int ds_nxmit; /* # of transmits in progress */ }; -int dematch __P((struct device *, void *, void *)); -void deattach __P((struct device *, struct device *, void *)); -int dewait __P((struct de_softc *, char *)); -void deinit __P((struct de_softc *)); -int deioctl __P((struct ifnet *, u_long, caddr_t)); -void dereset __P((int)); -void destart __P((struct ifnet *)); -void deread __P((struct de_softc *, struct ifrw *, int)); -void derecv __P((int)); -void de_setaddr __P((u_char *, struct de_softc *)); -void deintr __P((int)); +int dematch(struct device *, void *, void *); +void deattach(struct device *, struct device *, void *); +int dewait(struct de_softc *, char *); +void deinit(struct de_softc *); +int deioctl(struct ifnet *, u_long, caddr_t); +void dereset(int); +void destart(struct ifnet *); +void deread(struct de_softc *, struct ifrw *, int); +void derecv(int); +void de_setaddr(u_char *, struct de_softc *); +void deintr(int); struct cfdriver de_cd = { diff --git a/sys/arch/vax/if/if_le.c b/sys/arch/vax/if/if_le.c index eb70d751946..991933230ba 100644 --- a/sys/arch/vax/if/if_le.c +++ b/sys/arch/vax/if/if_le.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le.c,v 1.8 2001/11/06 19:53:17 miod Exp $ */ +/* $OpenBSD: if_le.c,v 1.9 2002/03/14 01:26:48 millert Exp $ */ /* $NetBSD: if_le.c,v 1.14 1999/08/14 18:40:23 ragge Exp $ */ /*- @@ -112,14 +112,14 @@ struct le_softc { volatile u_short *sc_rdp; }; -int le_ibus_match __P((struct device *, void *, void *)); -void le_ibus_attach __P((struct device *, struct device *, void *)); -void lewrcsr __P((struct am7990_softc *, u_int16_t, u_int16_t)); -u_int16_t lerdcsr __P((struct am7990_softc *, u_int16_t)); -void lance_copytobuf_gap2 __P((struct am7990_softc *, void *, int, int)); -void lance_copyfrombuf_gap2 __P((struct am7990_softc *, void *, int, int)); -void lance_zerobuf_gap2 __P((struct am7990_softc *, int, int)); -void leintr __P((void *)); +int le_ibus_match(struct device *, void *, void *); +void le_ibus_attach(struct device *, struct device *, void *); +void lewrcsr(struct am7990_softc *, u_int16_t, u_int16_t); +u_int16_t lerdcsr(struct am7990_softc *, u_int16_t); +void lance_copytobuf_gap2(struct am7990_softc *, void *, int, int); +void lance_copyfrombuf_gap2(struct am7990_softc *, void *, int, int); +void lance_zerobuf_gap2(struct am7990_softc *, int, int); +void leintr(void *); struct cfattach le_ibus_ca = { sizeof(struct le_softc), le_ibus_match, le_ibus_attach diff --git a/sys/arch/vax/if/if_qe.c b/sys/arch/vax/if/if_qe.c index dcdd234f609..8f0e7756aed 100644 --- a/sys/arch/vax/if/if_qe.c +++ b/sys/arch/vax/if/if_qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_qe.c,v 1.12 2001/02/20 19:39:35 mickey Exp $ */ +/* $OpenBSD: if_qe.c,v 1.13 2002/03/14 01:26:48 millert Exp $ */ /* $NetBSD: if_qe.c,v 1.39 2000/01/24 02:40:29 matt Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -98,15 +98,15 @@ struct qe_softc { int sc_setup; /* Setup packet in queue */ }; -static int qematch __P((struct device *, struct cfdata *, void *)); -static void qeattach __P((struct device *, struct device *, void *)); -static void qeinit __P((struct qe_softc *)); -static void qestart __P((struct ifnet *)); -static void qeintr __P((void *)); -static int qeioctl __P((struct ifnet *, u_long, caddr_t)); -static int qe_add_rxbuf __P((struct qe_softc *, int)); -static void qe_setup __P((struct qe_softc *)); -static void qetimeout __P((struct ifnet *)); +static int qematch(struct device *, struct cfdata *, void *); +static void qeattach(struct device *, struct device *, void *); +static void qeinit(struct qe_softc *); +static void qestart(struct ifnet *); +static void qeintr(void *); +static int qeioctl(struct ifnet *, u_long, caddr_t); +static int qe_add_rxbuf(struct qe_softc *, int); +static void qe_setup(struct qe_softc *); +static void qetimeout(struct ifnet *); struct cfattach qe_ca = { sizeof(struct qe_softc), (cfmatch_t)qematch, qeattach diff --git a/sys/arch/vax/if/if_uba.c b/sys/arch/vax/if/if_uba.c index be2e9330486..a497371c73f 100644 --- a/sys/arch/vax/if/if_uba.c +++ b/sys/arch/vax/if/if_uba.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_uba.c,v 1.8 2002/01/16 20:50:17 miod Exp $ */ +/* $OpenBSD: if_uba.c,v 1.9 2002/03/14 01:26:48 millert Exp $ */ /* $NetBSD: if_uba.c,v 1.15 1999/01/01 21:43:18 ragge Exp $ */ /* @@ -56,9 +56,9 @@ #include <vax/uba/ubareg.h> #include <vax/uba/ubavar.h> -static int if_ubaalloc __P((struct ifubinfo *, struct ifrw *, int)); -static void rcv_xmtbuf __P((struct ifxmt *)); -static void restor_xmtbuf __P((struct ifxmt *)); +static int if_ubaalloc(struct ifubinfo *, struct ifrw *, int); +static void rcv_xmtbuf(struct ifxmt *); +static void restor_xmtbuf(struct ifxmt *); /* * Routines supporting UNIBUS network interfaces. diff --git a/sys/arch/vax/if/if_uba.h b/sys/arch/vax/if/if_uba.h index 7c2f90d4815..7357b82b81c 100644 --- a/sys/arch/vax/if/if_uba.h +++ b/sys/arch/vax/if/if_uba.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_uba.h,v 1.4 1997/05/29 00:04:34 niklas Exp $ */ +/* $OpenBSD: if_uba.h,v 1.5 2002/03/14 01:26:48 millert Exp $ */ /* $NetBSD: if_uba.h,v 1.6 1996/08/20 14:07:50 ragge Exp $ */ /* @@ -135,10 +135,10 @@ struct ifuba { if_ubaput(&(ifu)->ifu_info, &(ifu)->ifu_xmt, m) /* Prototypes */ -int if_ubaminit __P((struct ifubinfo *, struct uba_softc *, int, int, - struct ifrw *, int, struct ifxmt *, int)); -int if_ubaput __P((struct ifubinfo *, struct ifxmt *, struct mbuf *)); -struct mbuf *if_ubaget __P((struct ifubinfo *, struct ifrw *, int, - struct ifnet *)); +int if_ubaminit(struct ifubinfo *, struct uba_softc *, int, int, + struct ifrw *, int, struct ifxmt *, int); +int if_ubaput(struct ifubinfo *, struct ifxmt *, struct mbuf *); +struct mbuf *if_ubaget(struct ifubinfo *, struct ifrw *, int, + struct ifnet *); #endif diff --git a/sys/arch/vax/if/if_ze.c b/sys/arch/vax/if/if_ze.c index 6853271ccdd..cb4b5d7b8f6 100644 --- a/sys/arch/vax/if/if_ze.c +++ b/sys/arch/vax/if/if_ze.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ze.c,v 1.3 2001/08/25 13:33:36 hugh Exp $ */ +/* $OpenBSD: if_ze.c,v 1.4 2002/03/14 01:26:48 millert Exp $ */ /* $NetBSD: if_ze.c,v 1.3 2000/01/24 02:54:03 matt Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -62,8 +62,8 @@ #define NISA_ROM 0x20084000 #define SGECVEC 0x108 -static int zematch __P((struct device *, struct cfdata *, void *)); -static void zeattach __P((struct device *, struct device *, void *)); +static int zematch(struct device *, struct cfdata *, void *); +static void zeattach(struct device *, struct device *, void *); struct cfattach ze_ibus_ca = { sizeof(struct ze_softc), (cfmatch_t)zematch, zeattach diff --git a/sys/arch/vax/if/sgec.c b/sys/arch/vax/if/sgec.c index 7259a99acd5..b4ddacb25ae 100644 --- a/sys/arch/vax/if/sgec.c +++ b/sys/arch/vax/if/sgec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sgec.c,v 1.3 2001/08/25 13:33:36 hugh Exp $ */ +/* $OpenBSD: sgec.c,v 1.4 2002/03/14 01:26:48 millert Exp $ */ /* $NetBSD: sgec.c,v 1.5 2000/06/04 02:14:14 matt Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -70,13 +70,13 @@ #include <vax/if/sgecreg.h> #include <vax/if/sgecvar.h> -static void zeinit __P((struct ze_softc *)); -static void zestart __P((struct ifnet *)); -static int zeioctl __P((struct ifnet *, u_long, caddr_t)); -static int ze_add_rxbuf __P((struct ze_softc *, int)); -static void ze_setup __P((struct ze_softc *)); -static void zetimeout __P((struct ifnet *)); -static int zereset __P((struct ze_softc *)); +static void zeinit(struct ze_softc *); +static void zestart(struct ifnet *); +static int zeioctl(struct ifnet *, u_long, caddr_t); +static int ze_add_rxbuf(struct ze_softc *, int); +static void ze_setup(struct ze_softc *); +static void zetimeout(struct ifnet *); +static int zereset(struct ze_softc *); #define ZE_WCSR(csr, val) \ bus_space_write_4(sc->sc_iot, sc->sc_ioh, csr, val) diff --git a/sys/arch/vax/if/sgecvar.h b/sys/arch/vax/if/sgecvar.h index fdee7fa4a43..a7bb0afc389 100644 --- a/sys/arch/vax/if/sgecvar.h +++ b/sys/arch/vax/if/sgecvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sgecvar.h,v 1.2 2001/08/25 13:33:36 hugh Exp $ */ +/* $OpenBSD: sgecvar.h,v 1.3 2002/03/14 01:26:48 millert Exp $ */ /* $NetBSD: sgecvar.h,v 1.2 2000/06/04 02:14:14 matt Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -65,5 +65,5 @@ struct ze_softc { int sc_setup; /* Setup packet in queue */ }; -void sgec_attach __P((struct ze_softc *)); -int sgec_intr __P((struct ze_softc *)); +void sgec_attach(struct ze_softc *); +int sgec_intr(struct ze_softc *); |