From 3c83a9762a1de398e272a7b7f41727b46006549d Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 30 Sep 2005 19:39:27 +0000 Subject: Use ansi function definitions in preference to K&R to reduce diffs with NetBSD (and cause it looks cooler). --- sys/dev/mii/xmphy.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'sys/dev/mii/xmphy.c') diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c index c6d2ee9..b6bf7f1 100644 --- a/sys/dev/mii/xmphy.c +++ b/sys/dev/mii/xmphy.c @@ -84,8 +84,7 @@ static void xmphy_status(struct mii_softc *); static int xmphy_mii_phy_auto(struct mii_softc *); static int -xmphy_probe(dev) - device_t dev; +xmphy_probe(device_t dev) { struct mii_attach_args *ma; @@ -107,8 +106,7 @@ xmphy_probe(dev) } static int -xmphy_attach(dev) - device_t dev; +xmphy_attach(device_t dev) { struct mii_softc *sc; struct mii_attach_args *ma; @@ -159,10 +157,7 @@ xmphy_attach(dev) } static int -xmphy_service(sc, mii, cmd) - struct mii_softc *sc; - struct mii_data *mii; - int cmd; +xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) { struct ifmedia_entry *ife = mii->mii_media.ifm_cur; int reg; @@ -272,8 +267,7 @@ xmphy_service(sc, mii, cmd) } static void -xmphy_status(sc) - struct mii_softc *sc; +xmphy_status(struct mii_softc *sc) { struct mii_data *mii = sc->mii_pdata; int bmsr, bmcr, anlpar; @@ -327,8 +321,7 @@ xmphy_status(sc) static int -xmphy_mii_phy_auto(mii) - struct mii_softc *mii; +xmphy_mii_phy_auto(struct mii_softc *mii) { int anar = 0; -- cgit v1.1