dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net/ngbe: support to identify centec sk21101 PHY
@ 2025-10-23  3:32 Jiawen Wu
  2025-10-23 16:52 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Jiawen Wu @ 2025-10-23  3:32 UTC (permalink / raw)
  To: dev; +Cc: Jiawen Wu

Add centec sk21101 PHY ID into the list of identifiable PHY IDs.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
---
 drivers/net/ngbe/base/ngbe_phy.c    | 1 +
 drivers/net/ngbe/base/ngbe_phy_yt.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/net/ngbe/base/ngbe_phy.c b/drivers/net/ngbe/base/ngbe_phy.c
index 6b5c1e47df..4109aa25ae 100644
--- a/drivers/net/ngbe/base/ngbe_phy.c
+++ b/drivers/net/ngbe/base/ngbe_phy.c
@@ -182,6 +182,7 @@ s32 ngbe_get_phy_type_from_id(struct ngbe_hw *hw)
 		break;
 	case NGBE_PHYID_YT8521:
 	case NGBE_PHYID_YT8531:
+	case NGBE_PHYID_SK21101:
 		if (hw->phy.media_type == ngbe_media_type_fiber)
 			hw->phy.type = ngbe_phy_yt8521s_sfi;
 		else
diff --git a/drivers/net/ngbe/base/ngbe_phy_yt.h b/drivers/net/ngbe/base/ngbe_phy_yt.h
index c45bec7ce7..5645af824f 100644
--- a/drivers/net/ngbe/base/ngbe_phy_yt.h
+++ b/drivers/net/ngbe/base/ngbe_phy_yt.h
@@ -9,6 +9,7 @@
 
 #define NGBE_PHYID_YT8521		0x00000110U
 #define NGBE_PHYID_YT8531		0x4F51E910U
+#define NGBE_PHYID_SK21101		0x00782010U
 
 /* Common EXT */
 #define YT_SMI_PHY			0xA000
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/ngbe: support to identify centec sk21101 PHY
  2025-10-23  3:32 [PATCH] net/ngbe: support to identify centec sk21101 PHY Jiawen Wu
@ 2025-10-23 16:52 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2025-10-23 16:52 UTC (permalink / raw)
  To: Jiawen Wu; +Cc: dev

On Thu, 23 Oct 2025 11:32:07 +0800
Jiawen Wu <jiawenwu@trustnetic.com> wrote:

> Add centec sk21101 PHY ID into the list of identifiable PHY IDs.
> 
> Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>

Queued to next-net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-23 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-23  3:32 [PATCH] net/ngbe: support to identify centec sk21101 PHY Jiawen Wu
2025-10-23 16:52 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).