summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/pnphy.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-09-30 19:39:27 +0000
committerimp <imp@FreeBSD.org>2005-09-30 19:39:27 +0000
commit3c83a9762a1de398e272a7b7f41727b46006549d (patch)
treec545b1567d7ceed1e0dd597b18504c02fe5cec82 /sys/dev/mii/pnphy.c
parent6d33aff6dae5c484c4e00cb127bfca95ca2aeeaa (diff)
downloadFreeBSD-src-3c83a9762a1de398e272a7b7f41727b46006549d.zip
FreeBSD-src-3c83a9762a1de398e272a7b7f41727b46006549d.tar.gz
Use ansi function definitions in preference to K&R to reduce diffs
with NetBSD (and cause it looks cooler).
Diffstat (limited to 'sys/dev/mii/pnphy.c')
-rw-r--r--sys/dev/mii/pnphy.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/dev/mii/pnphy.c b/sys/dev/mii/pnphy.c
index 98d269a..573bfb8 100644
--- a/sys/dev/mii/pnphy.c
+++ b/sys/dev/mii/pnphy.c
@@ -100,8 +100,7 @@ static int pnphy_service(struct mii_softc *, struct mii_data *, int);
static void pnphy_status(struct mii_softc *);
static int
-pnphy_probe(dev)
- device_t dev;
+pnphy_probe(device_t dev)
{
struct mii_attach_args *ma;
@@ -121,8 +120,7 @@ pnphy_probe(dev)
}
static int
-pnphy_attach(dev)
- device_t dev;
+pnphy_attach(device_t dev)
{
struct mii_softc *sc;
struct mii_attach_args *ma;
@@ -163,10 +161,7 @@ pnphy_attach(dev)
}
static int
-pnphy_service(sc, mii, cmd)
- struct mii_softc *sc;
- struct mii_data *mii;
- int cmd;
+pnphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
{
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
@@ -246,8 +241,7 @@ pnphy_service(sc, mii, cmd)
}
static void
-pnphy_status(sc)
- struct mii_softc *sc;
+pnphy_status(struct mii_softc *sc)
{
struct mii_data *mii = sc->mii_pdata;
int reg;
OpenPOWER on IntegriCloud