summaryrefslogtreecommitdiff
path: root/sys/dev/mii/amphy.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-12-31 15:04:34 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-12-31 15:04:34 +0000
commit6de76f745ab68a6b60da937911f01c0c9094cb4c (patch)
tree4654917685ff15c43ce0ca8d60ef9bcd6982b830 /sys/dev/mii/amphy.c
parent01e18121d8c6da41d79b5c41839a3aea372ff1c9 (diff)
Bring last few phys into line by calling their XXX_status() functions
through mii_phy_status() rather than directly. No functional change. from brad@ ok mglocker@
Diffstat (limited to 'sys/dev/mii/amphy.c')
-rw-r--r--sys/dev/mii/amphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/amphy.c b/sys/dev/mii/amphy.c
index eabe2c5c83f..0807239a151 100644
--- a/sys/dev/mii/amphy.c
+++ b/sys/dev/mii/amphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amphy.c,v 1.14 2006/12/27 19:11:08 kettenis Exp $ */
+/* $OpenBSD: amphy.c,v 1.15 2006/12/31 15:04:33 krw Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -179,7 +179,7 @@ amphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
}
/* Update the media status. */
- amphy_status(sc);
+ mii_phy_status(sc);
/* Callback if something changed. */
mii_phy_update(sc, cmd);