summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2006-12-31 15:04:33 +0000
committerkrw <krw@openbsd.org>2006-12-31 15:04:33 +0000
commit98be1dc07936c01a0282f505f72c27ac9b72205a (patch)
tree147239d55bdd4e7992f0fe46928aec637cc76f51
parentBye bye unused acx_shutdown() we won't miss you. (diff)
downloadwireguard-openbsd-98be1dc07936c01a0282f505f72c27ac9b72205a.tar.xz
wireguard-openbsd-98be1dc07936c01a0282f505f72c27ac9b72205a.zip
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@
-rw-r--r--sys/dev/mii/amphy.c4
-rw-r--r--sys/dev/mii/brgphy.c4
-rw-r--r--sys/dev/mii/ciphy.c4
-rw-r--r--sys/dev/mii/ipgphy.c4
-rw-r--r--sys/dev/mii/rgephy.c4
-rw-r--r--sys/dev/mii/xmphy.c4
6 files changed, 12 insertions, 12 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);
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c
index 0e9ddb5576e..257f1d26ea0 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.68 2006/12/30 23:04:39 kettenis Exp $ */
+/* $OpenBSD: brgphy.c,v 1.69 2006/12/31 15:04:33 krw Exp $ */
/*
* Copyright (c) 2000
@@ -305,7 +305,7 @@ setit:
}
/* Update the media status. */
- brgphy_status(sc);
+ mii_phy_status(sc);
/*
* Callback if something changed. Note that we need to poke the DSP on
diff --git a/sys/dev/mii/ciphy.c b/sys/dev/mii/ciphy.c
index bb5b0b499cd..245618dc8a1 100644
--- a/sys/dev/mii/ciphy.c
+++ b/sys/dev/mii/ciphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciphy.c,v 1.17 2006/12/30 23:04:39 kettenis Exp $ */
+/* $OpenBSD: ciphy.c,v 1.18 2006/12/31 15:04:33 krw Exp $ */
/* $FreeBSD: ciphy.c,v 1.1 2004/09/10 20:57:45 wpaul Exp $ */
/*
* Copyright (c) 2004
@@ -233,7 +233,7 @@ setit:
}
/* Update the media status. */
- ciphy_status(sc);
+ mii_phy_status(sc);
/*
* Callback if something changed. Note that we need to poke
diff --git a/sys/dev/mii/ipgphy.c b/sys/dev/mii/ipgphy.c
index d2586750e21..8591f3c619a 100644
--- a/sys/dev/mii/ipgphy.c
+++ b/sys/dev/mii/ipgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipgphy.c,v 1.6 2006/12/30 23:04:39 kettenis Exp $ */
+/* $OpenBSD: ipgphy.c,v 1.7 2006/12/31 15:04:33 krw Exp $ */
/*-
* Copyright (c) 2006, Pyun YongHyeon <yongari@FreeBSD.org>
@@ -270,7 +270,7 @@ done:
}
/* Update the media status. */
- ipgphy_status(sc);
+ mii_phy_status(sc);
/* Callback if something changed. */
mii_phy_update(sc, cmd);
diff --git a/sys/dev/mii/rgephy.c b/sys/dev/mii/rgephy.c
index d1f0e1c81f2..747cefec7a4 100644
--- a/sys/dev/mii/rgephy.c
+++ b/sys/dev/mii/rgephy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rgephy.c,v 1.22 2006/12/30 23:04:39 kettenis Exp $ */
+/* $OpenBSD: rgephy.c,v 1.23 2006/12/31 15:04:33 krw Exp $ */
/*
* Copyright (c) 2003
* Bill Paul <wpaul@windriver.com>. All rights reserved.
@@ -269,7 +269,7 @@ setit:
}
/* Update the media status. */
- rgephy_status(sc);
+ mii_phy_status(sc);
/*
* Callback if something changed. Note that we need to poke
diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c
index 797da525611..c54a18222a7 100644
--- a/sys/dev/mii/xmphy.c
+++ b/sys/dev/mii/xmphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xmphy.c,v 1.16 2006/10/07 23:44:51 brad Exp $ */
+/* $OpenBSD: xmphy.c,v 1.17 2006/12/31 15:04:33 krw Exp $ */
/*
* Copyright (c) 2000
@@ -232,7 +232,7 @@ xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
}
/* Update the media status. */
- xmphy_status(sc);
+ mii_phy_status(sc);
/* Callback if something changed. */
mii_phy_update(sc, cmd);