Skip to contentSkip to conversation

PCI: Add vendor ID for Quectel and Cinterion

PATCH Superseded Slark Xiao 2 participants 3 messages Oct 27, 2022 – Oct 28, 2022 PCI

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Slark Xiao

author
#0 lore raw

PATCH 1/1 PCI: Add vendor ID for Quectel and Cinterion

In MHI driver, there are some companies product still do not have their own PCI vendor macro. So we add it here to make the code neat. Ref ID could be found in link https://pcisig.com/membership/member-companies.

---
 include/linux/pci_ids.h | 4 ++++
 1 file changed, 4 insertions(+)
include/linux/pci_ids.h +4 -0
index b362d90eb9b0..e3bfea06b90e 100644
@@ -172,6 +172,10 @@
 #define PCI_DEVICE_ID_BERKOM_A4T		0xffa4
 #define PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO	0xffa8
 
+#define PCI_VENDOR_ID_CINTERION		0x1269
+
+#define PCI_VENDOR_ID_QUECTEL		0x1eac
+
 #define PCI_VENDOR_ID_COMPAQ		0x0e11
 #define PCI_DEVICE_ID_COMPAQ_TOKENRING	0x0508
 #define PCI_DEVICE_ID_COMPAQ_TACHYON	0xa0fc
Signature · 1 line
2.34.1
#1 lore raw
Quoted 4 lines · Slark Xiao

In MHI driver, there are some companies product still do not have their own PCI vendor macro. So we add it here to make the code neat. Ref ID could be found in link https://pcisig.com/membership/member-companies.

Rewrap to fill 75 columns.

Post along with the patch that uses the definitions.

Quoted 10 lines
---
 include/linux/pci_ids.h | 4 ++++
 1 file changed, 4 insertions(+)
include/linux/pci_ids.h +0 -0
index b362d90eb9b0..e3bfea06b90e 100644

include/linux/pci_ids.h line 175

Quoted 4 lines
include/linux/pci_ids.h +1 -0
@@ -172,6 +172,10 @@
 #define PCI_DEVICE_ID_BERKOM_A4T		0xffa4
 #define PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO	0xffa8
 
+#define PCI_VENDOR_ID_CINTERION		0x1269

The URL above says 0x1269 belongs to Thales. Maybe add a comment to that effect, similar to the one for PCI_VENDOR_ID_CB.

include/linux/pci_ids.h line 177

Quoted 1 line
include/linux/pci_ids.h +1 -0
+#define PCI_VENDOR_ID_QUECTEL		0x1eac

Both new definitions look like they're dropped in a random location. Please move them so the vendor IDs in the file remain sorted by numeric value.

Quoted 6 lines
include/linux/pci_ids.h +0 -0
 #define PCI_VENDOR_ID_COMPAQ		0x0e11
 #define PCI_DEVICE_ID_COMPAQ_TOKENRING	0x0508
 #define PCI_DEVICE_ID_COMPAQ_TACHYON	0xa0fc
Signature · 1 line
2.34.1
author
#2 lore raw
Quoted 28 lines · Bjorn Helgaas
Quoted 4 lines · Slark Xiao

In MHI driver, there are some companies product still do not have their own PCI vendor macro. So we add it here to make the code neat. Ref ID could be found in link https://pcisig.com/membership/member-companies.

Rewrap to fill 75 columns.

Post along with the patch that uses the definitions.

Quoted 10 lines
---
 include/linux/pci_ids.h | 4 ++++
 1 file changed, 4 insertions(+)
include/linux/pci_ids.h +0 -0
index b362d90eb9b0..e3bfea06b90e 100644

include/linux/pci_ids.h line 175

Quoted 4 lines
include/linux/pci_ids.h +1 -0
@@ -172,6 +172,10 @@
 #define PCI_DEVICE_ID_BERKOM_A4T		0xffa4
 #define PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO	0xffa8
 
+#define PCI_VENDOR_ID_CINTERION		0x1269

The URL above says 0x1269 belongs to Thales. Maybe add a comment to that effect, similar to the one for PCI_VENDOR_ID_CB.

Quoted 6 lines

include/linux/pci_ids.h line 177

Quoted 1 line
include/linux/pci_ids.h +1 -0
+#define PCI_VENDOR_ID_QUECTEL		0x1eac

Both new definitions look like they're dropped in a random location. Please move them so the vendor IDs in the file remain sorted by numeric value.

Hi Bjorn,
V2 version is sent. I add explanation about the relationship between Thales
and CInterion. And I just find these VIDs are sorted by numeric, so I fix it in v2.

Thanks.

Quoted 6 lines
Quoted 6 lines
include/linux/pci_ids.h +0 -0
 #define PCI_VENDOR_ID_COMPAQ		0x0e11
 #define PCI_DEVICE_ID_COMPAQ_TOKENRING	0x0508
 #define PCI_DEVICE_ID_COMPAQ_TACHYON	0xa0fc
Signature · 1 line
2.34.1