summaryrefslogtreecommitdiff
path: root/sys/dev/mii/iophy.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-03-05 09:37:21 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-03-05 09:37:21 +0000
commit1a5d7b011a4636a05dacea656e28b1c3c6855f42 (patch)
tree6a0fb1f6f48aa9fc9cdc04326cef827cf007f11d /sys/dev/mii/iophy.c
parent61c1c64cb2801bf98a4ca38d6f7d40e0ecdc7cd0 (diff)
ansi
Diffstat (limited to 'sys/dev/mii/iophy.c')
-rw-r--r--sys/dev/mii/iophy.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/sys/dev/mii/iophy.c b/sys/dev/mii/iophy.c
index 70aa69adf3d..8c8ad975923 100644
--- a/sys/dev/mii/iophy.c
+++ b/sys/dev/mii/iophy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iophy.c,v 1.20 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: iophy.c,v 1.21 2021/03/05 09:37:20 jsg Exp $ */
/* $NetBSD: iophy.c,v 1.8 2000/02/02 23:34:56 thorpej Exp $ */
/*
@@ -104,10 +104,7 @@ static const struct mii_phydesc iophys[] = {
};
int
-iophymatch(parent, match, aux)
- struct device *parent;
- void *match;
- void *aux;
+iophymatch(struct device *parent, void *match, void *aux)
{
struct mii_attach_args *ma = aux;
@@ -118,9 +115,7 @@ iophymatch(parent, match, aux)
}
void
-iophyattach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+iophyattach(struct device *parent, struct device *self, void *aux)
{
struct mii_softc *sc = (struct mii_softc *)self;
struct mii_attach_args *ma = aux;
@@ -145,10 +140,7 @@ iophyattach(parent, self, aux)
}
int
-iophy_service(sc, mii, cmd)
- struct mii_softc *sc;
- struct mii_data *mii;
- int cmd;
+iophy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
{
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
int reg;
@@ -210,8 +202,7 @@ iophy_service(sc, mii, cmd)
}
void
-iophy_status(sc)
- struct mii_softc *sc;
+iophy_status(struct mii_softc *sc)
{
struct mii_data *mii = sc->mii_pdata;
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;