aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2023-11-17 12:31:36 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2023-11-17 12:38:07 +0000
commit1965dd85c3b33ed99cb8ef164dd7c5b20425a85e (patch)
treebf1d7636ca5ce5d2edaefee5bf10eb5d47fd2355
parent43324ec770f6b598f0ce25487f69a64b3c9822bd (diff)
downloadsrc-1965dd85c3b33ed99cb8ef164dd7c5b20425a85e.tar.gz
src-1965dd85c3b33ed99cb8ef164dd7c5b20425a85e.zip
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 MFC after: 3 days
-rw-r--r--sys/dev/mii/miidevs1
-rw-r--r--sys/dev/mii/vscphy.c1
2 files changed, 2 insertions, 0 deletions
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[] = {
MII_PHY_DESC(xxVITESSE, VSC8501),
MII_PHY_DESC(xxVITESSE, VSC8504),
+ MII_PHY_DESC(xxVITESSE, VSC8514),
MII_PHY_END
};