git: 5586515ab163 - main - Add a new RDC phy Reviewed by: jhb Obtained from: NetBSD via Andrius V Differential Revision: https://reviews.freebsd.org/D35034

From: Kevin Lo <kevlo_at_FreeBSD.org>
Date: Mon, 25 Apr 2022 02:02:00 UTC
The branch main has been updated by kevlo:

URL: https://cgit.FreeBSD.org/src/commit/?id=5586515ab163f9f9ac963839d36ab65e608cd077

commit 5586515ab163f9f9ac963839d36ab65e608cd077
Author:     Kevin Lo <kevlo@FreeBSD.org>
AuthorDate: 2022-04-25 02:00:58 +0000
Commit:     Kevin Lo <kevlo@FreeBSD.org>
CommitDate: 2022-04-25 02:00:58 +0000

    Add a new RDC phy
    Reviewed by:    jhb
    Obtained from:  NetBSD via Andrius V
    Differential Revision:  https://reviews.freebsd.org/D35034
---
 sys/dev/mii/miidevs  | 1 +
 sys/dev/mii/rdcphy.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs
index 0b818c2e6e2b..579d6ef2d4e4 100644
--- a/sys/dev/mii/miidevs
+++ b/sys/dev/mii/miidevs
@@ -315,6 +315,7 @@ model xxQUALSEMI QS6612		0x0000 QS6612 10/100 media interface
 
 /* RDC Semiconductor PHYs */
 model RDC R6040			0x0003 R6040 10/100 media interface
+model RDC R6040_2		0x0005 R6040 10/100 media interface
 
 /* RealTek Semicondctor PHYs */
 model yyREALTEK RTL8201L	0x0020 RTL8201L 10/100 media interface
diff --git a/sys/dev/mii/rdcphy.c b/sys/dev/mii/rdcphy.c
index d7fa8ced4fdb..1a7be03efacc 100644
--- a/sys/dev/mii/rdcphy.c
+++ b/sys/dev/mii/rdcphy.c
@@ -85,6 +85,7 @@ static void	rdcphy_status(struct mii_softc *);
 
 static const struct mii_phydesc rdcphys[] = {
 	MII_PHY_DESC(RDC, R6040),
+	MII_PHY_DESC(RDC, R6040_2),
 	MII_PHY_END
 };