summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/miivar.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-28 19:25:07 +0000
committerphk <phk@FreeBSD.org>2002-04-28 19:25:07 +0000
commitf8c369f7e5ced10460a44577e47774f38701b831 (patch)
tree54b58d5abc04323ae639c02f4cb133deb93be402 /sys/dev/mii/miivar.h
parent47669f2ea061ed29fe2ae4638fa8055cd9144c3a (diff)
downloadFreeBSD-src-f8c369f7e5ced10460a44577e47774f38701b831.zip
FreeBSD-src-f8c369f7e5ced10460a44577e47774f38701b831.tar.gz
Don't pass three args when one will do just fine, and even prevent
mistakes like the one brgphy.c (now corrected).
Diffstat (limited to 'sys/dev/mii/miivar.h')
-rw-r--r--sys/dev/mii/miivar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h
index a4c2a28..d890f46 100644
--- a/sys/dev/mii/miivar.h
+++ b/sys/dev/mii/miivar.h
@@ -166,7 +166,7 @@ int mii_mediachg(struct mii_data *);
void mii_tick(struct mii_data *);
void mii_pollstat(struct mii_data *);
int mii_phy_probe(device_t, device_t *, ifm_change_cb_t, ifm_stat_cb_t);
-void mii_add_media(struct mii_data *, int, int);
+void mii_add_media(struct mii_softc *);
int mii_media_from_bmcr(int);
OpenPOWER on IntegriCloud