diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-09-27 18:25:49 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-09-27 18:25:49 +0000 |
commit | af48c30b9ae79597b2b945d233acc77c86902eca (patch) | |
tree | b1003c6139d407b3e10edd73f21a06594146b017 /sys/dev/mii/nsphyter.c | |
parent | da405d21b29d592527efc4bfa8abd1ef2bcaa5e1 (diff) |
ANSI protos and some minor cleanup
ok henning@
Diffstat (limited to 'sys/dev/mii/nsphyter.c')
-rw-r--r-- | sys/dev/mii/nsphyter.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/sys/dev/mii/nsphyter.c b/sys/dev/mii/nsphyter.c index dd833b296b6..b6b52aa643f 100644 --- a/sys/dev/mii/nsphyter.c +++ b/sys/dev/mii/nsphyter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nsphyter.c,v 1.7 2004/09/26 00:59:58 brad Exp $ */ +/* $OpenBSD: nsphyter.c,v 1.8 2004/09/27 18:25:48 brad Exp $ */ /* $NetBSD: nsphyter.c,v 1.5 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -108,10 +108,7 @@ const struct mii_phy_funcs nsphyter_funcs = { }; int -nsphytermatch(parent, match, aux) - struct device *parent; - void *match; - void *aux; +nsphytermatch(struct device *parent, void *match, void *aux) { struct mii_attach_args *ma = aux; @@ -127,9 +124,7 @@ nsphytermatch(parent, match, aux) } void -nsphyterattach(parent, self, aux) - struct device *parent, *self; - void *aux; +nsphyterattach(struct device *parent, struct device *self, void *aux) { struct mii_softc *sc = (struct mii_softc *)self; struct mii_attach_args *ma = aux; @@ -156,10 +151,7 @@ nsphyterattach(parent, self, aux) } int -nsphyter_service(sc, mii, cmd) - struct mii_softc *sc; - struct mii_data *mii; - int cmd; +nsphyter_service(struct mii_softc *sc, struct mii_data *mii, int cmd) { struct ifmedia_entry *ife = mii->mii_media.ifm_cur; int reg; @@ -221,8 +213,7 @@ nsphyter_service(sc, mii, cmd) } void -nsphyter_status(sc) - struct mii_softc *sc; +nsphyter_status(struct mii_softc *sc) { struct mii_data *mii = sc->mii_pdata; struct ifmedia_entry *ife = mii->mii_media.ifm_cur; |