netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] amd-xgbe: Add device IDs for Hygon 10Gb ethernet controller
@ 2025-04-15 13:20 zhoubowen
  2025-04-16 18:52 ` Simon Horman
  0 siblings, 1 reply; 5+ messages in thread
From: zhoubowen @ 2025-04-15 13:20 UTC (permalink / raw)
  To: David S . Miller, Eric Dumazet, Jakub Kicinski, Shyam Sundar S K,
	Paolo Abeni
  Cc: netdev, linux-kernel

Add device IDs for Hygon 10Gb Ethernet controller.

Signed-off-by: zhoubowen <zhoubowen@kylinsec.com.cn>
---
 drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-pci.c b/drivers/net/ethernet/amd/xgbe/xgbe-pci.c
index f409d7bd1f1e..206ff2e9e3cb 100644
--- a/drivers/net/ethernet/amd/xgbe/xgbe-pci.c
+++ b/drivers/net/ethernet/amd/xgbe/xgbe-pci.c
@@ -510,6 +510,10 @@ static const struct pci_device_id xgbe_pci_table[] = {
 	  .driver_data = (kernel_ulong_t)&xgbe_v2a },
 	{ PCI_VDEVICE(AMD, 0x1459),
 	  .driver_data = (kernel_ulong_t)&xgbe_v2b },
+	{ PCI_VDEVICE(HYGON, 0x1458),
+	  .driver_data = (kernel_ulong_t)&xgbe_v2a },
+	{ PCI_VDEVICE(HYGON, 0x1459),
+	  .driver_data = (kernel_ulong_t)&xgbe_v2b },
 	/* Last entry must be zero */
 	{ 0, }
 };
-- 
2.27.0


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

end of thread, other threads:[~2025-04-30  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15 13:20 [PATCH] amd-xgbe: Add device IDs for Hygon 10Gb ethernet controller zhoubowen
2025-04-16 18:52 ` Simon Horman
2025-04-28 11:50   ` Zhou Bowen
2025-04-28 12:02   ` [PATCH v1] " Zhou Bowen
2025-04-30  9:49   ` [PATCH WITHDRAW] " Zhou Bowen

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).