git: 45000447c1a0 - stable/14 - mii: add Vitesse/Microsemi VSC8514

From: Bjoern A. Zeeb <>
Date: Thu, 30 Nov 2023 00:38:10 UTC
The branch stable/14 has been updated by bz:


commit 45000447c1a08cabc379631c16b519caf26f202a
Author:     Bjoern A. Zeeb <>
AuthorDate: 2023-11-17 12:31:36 +0000
Commit:     Bjoern A. Zeeb <>
CommitDate: 2023-11-30 00:36:56 +0000

    mii: add Vitesse/Microsemi VSC8514
    The VSC8514 Quad-Port 10/100/1000BASE-T PHY seems to match the handling
    for the VSC8504 (for the little we support of what we could) and while
    it works with our generic ukphy add it as vscphy for porper display of
    names in the system message buffer and the like (or in case we decide
    to implement some extra features).
    Tested on:      Ten64
    (cherry picked from commit 1965dd85c3b33ed99cb8ef164dd7c5b20425a85e)
 sys/dev/mii/miidevs  | 1 +
 sys/dev/mii/vscphy.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs
index a3776fc5553d..78d1dddba59f 100644
--- a/sys/dev/mii/miidevs
+++ b/sys/dev/mii/miidevs
@@ -353,6 +353,7 @@ model xxTSC 78Q2121		0x0015 78Q2121 100BASE-TX media interface
 /* Vitesse Semiconductor (now Microsemi) */
 model xxVITESSE VSC8501		0x0013 Vitesse VSC8501 10/100/1000TX PHY
 model xxVITESSE VSC8504		0x000c Vitesse VSC8504 10/100/1000TX PHY
+model xxVITESSE VSC8514		0x0027 Vitesse VSC8514 10/100/1000TX PHY
 /* XaQti Corp. PHYs */
 model xxXAQTI XMACII		0x0000 XaQti Corp. XMAC II gigabit interface
diff --git a/sys/dev/mii/vscphy.c b/sys/dev/mii/vscphy.c
index 7d4e7fb591f4..1fdee688d70b 100644
--- a/sys/dev/mii/vscphy.c
+++ b/sys/dev/mii/vscphy.c
@@ -104,6 +104,7 @@ static int  vscphy_service(struct mii_softc *, struct mii_data *, int);
 static const struct mii_phydesc vscphys[] = {