git: aa2d724164c7 - main - Revert "mii: call only PHY_STATUS() from mii_pollstat()"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Nov 2026 21:11:59 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=aa2d724164c7b1dd83771ec7094880ae2525c9d7
commit aa2d724164c7b1dd83771ec7094880ae2525c9d7
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-11-23 21:11:04 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-11-23 21:11:28 +0000
Revert "mii: call only PHY_STATUS() from mii_pollstat()"
This regressed bge(4). A different patch to be proposed.
This reverts commit ef3c76fd2030a4c7d0f9c981b7129595398e3f21.
PR: 290417
PR: 301046
---
sys/dev/mii/mii.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/mii/mii.c b/sys/dev/mii/mii.c
index 00bffe4dc546..b63bfb6285bb 100644
--- a/sys/dev/mii/mii.c
+++ b/sys/dev/mii/mii.c
@@ -613,7 +613,7 @@ mii_pollstat(struct mii_data *mii)
*/
if (IFM_INST(ife->ifm_media) != child->mii_inst)
continue;
- PHY_STATUS(child);
+ (void)PHY_SERVICE(child, mii, MII_POLLSTAT);
}
}