-/* $OpenBSD: icsphy.c,v 1.23 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: icsphy.c,v 1.24 2021/03/05 09:37:20 jsg Exp $ */
/* $NetBSD: icsphy.c,v 1.17 2000/02/02 23:34:56 thorpej Exp $ */
/*-
}
int
-icsphy_service(sc, mii, cmd)
- struct mii_softc *sc;
- struct mii_data *mii;
- int cmd;
+icsphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
{
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
int reg;
}
void
-icsphy_status(sc)
- struct mii_softc *sc;
+icsphy_status(struct mii_softc *sc)
{
struct mii_data *mii = sc->mii_pdata;
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
}
void
-icsphy_reset(sc)
- struct mii_softc *sc;
+icsphy_reset(struct mii_softc *sc)
{
mii_phy_reset(sc);
-/* $OpenBSD: inphy.c,v 1.21 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: inphy.c,v 1.22 2021/03/05 09:37:20 jsg Exp $ */
/* $NetBSD: inphy.c,v 1.18 2000/02/02 23:34:56 thorpej Exp $ */
/*-
};
int
-inphymatch(parent, match, aux)
- struct device *parent;
- void *match;
- void *aux;
+inphymatch(struct device *parent, void *match, void *aux)
{
struct mii_attach_args *ma = aux;
}
void
-inphyattach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+inphyattach(struct device *parent, struct device *self, void *aux)
{
struct mii_softc *sc = (struct mii_softc *)self;
struct mii_attach_args *ma = aux;
}
int
-inphy_service(sc, mii, cmd)
- struct mii_softc *sc;
- struct mii_data *mii;
- int cmd;
+inphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
{
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
int reg;
}
void
-inphy_status(sc)
- struct mii_softc *sc;
+inphy_status(struct mii_softc *sc)
{
struct mii_data *mii = sc->mii_pdata;
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
-/* $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 $ */
/*
};
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;
}
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;
}
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;
}
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;
-/* $OpenBSD: lxtphy.c,v 1.20 2015/03/14 03:38:48 jsg Exp $ */
+/* $OpenBSD: lxtphy.c,v 1.21 2021/03/05 09:37:20 jsg Exp $ */
/* $NetBSD: lxtphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp $ */
/*-
};
int
-lxtphymatch(parent, match, aux)
- struct device *parent;
- void *match;
- void *aux;
+lxtphymatch(struct device *parent, void *match, void *aux)
{
struct mii_attach_args *ma = aux;
}
void
-lxtphyattach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+lxtphyattach(struct device *parent, struct device *self, void *aux)
{
struct mii_softc *sc = (struct mii_softc *)self;
struct mii_attach_args *ma = aux;
}
int
-lxtphy_service(sc, mii, cmd)
- struct mii_softc *sc;
- struct mii_data *mii;
- int cmd;
+lxtphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
{
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
int reg;
}
void
-lxtphy_status(sc)
- struct mii_softc *sc;
+lxtphy_status(struct mii_softc *sc)
{
struct mii_data *mii = sc->mii_pdata;
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
}
void
-lxtphy_reset(sc)
- struct mii_softc *sc;
+lxtphy_reset(struct mii_softc *sc)
{
mii_phy_reset(sc);
PHY_WRITE(sc, MII_LXTPHY_IER,