Skip to contentSkip to conversation

PCI: Add NXP NETC vendor ID and device IDs

PATCH In review Wei Fang 1 participant 2 messages Oct 9, 2024

Subsystems (2)
lore
Share & tools
lore

Wei Fang

author
#0 lore raw

PATCH 1/1 PCI: Add NXP NETC vendor ID and device IDs

NXP NETC is a multi-function PCIe Root Complex Integrated Endpoint (RCiEP) and it contains multiple PCIe functions, such as EMDIO, PTP Timer, ENETC PF and VF. Therefore, add these device IDs to pci_ids.h

---
 include/linux/pci_ids.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/linux/pci_ids.h +7 -0
index 4cf6aaed5f35..acd7ae774913 100644
@@ -1556,6 +1556,13 @@
 #define PCI_DEVICE_ID_PHILIPS_SAA7146	0x7146
 #define PCI_DEVICE_ID_PHILIPS_SAA9730	0x9730
 
+/* NXP has two vendor IDs, the other one is 0x1957 */
+#define PCI_VENDOR_ID_NXP2		PCI_VENDOR_ID_PHILIPS
+#define PCI_DEVICE_ID_NXP2_ENETC_PF	0xe101
+#define PCI_DEVICE_ID_NXP2_NETC_EMDIO	0xee00
+#define PCI_DEVICE_ID_NXP2_NETC_TIMER	0xee02
+#define PCI_DEVICE_ID_NXP2_ENETC_VF	0xef00
+
 #define PCI_VENDOR_ID_EICON		0x1133
 #define PCI_DEVICE_ID_EICON_DIVA20	0xe002
 #define PCI_DEVICE_ID_EICON_DIVA20_U	0xe004
Signature · 1 line
2.34.1
author
#1 lore raw
Quoted 37 lines

-----Original Message-----
From: Wei Fang
Sent: 2024年10月9日 17:42
To: [email protected]; [email protected]; [email protected]
Cc: Clark Wang <[email protected]>; Claudiu Manoil <[email protected]>; [email protected]
Subject: [PATCH] PCI: Add NXP NETC vendor ID and device IDs

NXP NETC is a multi-function PCIe Root Complex Integrated Endpoint (RCiEP) and it contains multiple PCIe functions, such as EMDIO, PTP Timer, ENETC PF and VF. Therefore, add these device IDs to pci_ids.h

---
 include/linux/pci_ids.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/linux/pci_ids.h index renamed from include/linux/pci_ids.h +0 -0

4cf6aaed5f35..acd7ae774913 100644

include/linux/pci_ids.h +7 -1
@@ -1556,6 +1556,13 @@
 #define PCI_DEVICE_ID_PHILIPS_SAA7146	0x7146
 #define PCI_DEVICE_ID_PHILIPS_SAA9730	0x9730
 
+/* NXP has two vendor IDs, the other one is 0x1957 */
+#define PCI_VENDOR_ID_NXP2		PCI_VENDOR_ID_PHILIPS
+#define PCI_DEVICE_ID_NXP2_ENETC_PF	0xe101
+#define PCI_DEVICE_ID_NXP2_NETC_EMDIO	0xee00
+#define PCI_DEVICE_ID_NXP2_NETC_TIMER	0xee02
+#define PCI_DEVICE_ID_NXP2_ENETC_VF	0xef00
+
 #define PCI_VENDOR_ID_EICON		0x1133
 #define PCI_DEVICE_ID_EICON_DIVA20	0xe002
 #define PCI_DEVICE_ID_EICON_DIVA20_U	0xe004
--
Quoted 1 line

2.34.1

Oh, sorry, I should have sent this together with the NETC related patches instead of sending this patch separately.

Please ignore this email, thanks.