summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/lxtphy.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/lxtphy.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/lxtphy.c')
-rw-r--r--sys/dev/mii/lxtphy.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/sys/dev/mii/lxtphy.c b/sys/dev/mii/lxtphy.c
index e4d0c19..a5b6186 100644
--- a/sys/dev/mii/lxtphy.c
+++ b/sys/dev/mii/lxtphy.c
@@ -122,8 +122,7 @@ static void lxtphy_set_tp(struct mii_softc *);
static void lxtphy_set_fx(struct mii_softc *);
static int
-lxtphy_probe(dev)
- device_t dev;
+lxtphy_probe(device_t dev)
{
struct mii_attach_args *ma;
@@ -139,8 +138,7 @@ lxtphy_probe(dev)
}
static int
-lxtphy_attach(dev)
- device_t dev;
+lxtphy_attach(device_t dev)
{
struct mii_softc *sc;
struct mii_attach_args *ma;
@@ -185,10 +183,7 @@ lxtphy_attach(dev)
}
static 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;
@@ -270,8 +265,7 @@ lxtphy_service(sc, mii, cmd)
}
static 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;
@@ -317,8 +311,7 @@ lxtphy_status(sc)
}
static void
-lxtphy_set_tp(sc)
- struct mii_softc *sc;
+lxtphy_set_tp(struct mii_softc *sc)
{
int cfg;
@@ -328,8 +321,7 @@ lxtphy_set_tp(sc)
}
static void
-lxtphy_set_fx(sc)
- struct mii_softc *sc;
+lxtphy_set_fx(struct mii_softc *sc)
{
int cfg;
OpenPOWER on IntegriCloud