* [PATCH] PCI: Add vendor ID for Quectel and Cinterion
@ 2022-10-27 11:51 Slark Xiao
2022-10-27 14:27 ` Bjorn Helgaas
0 siblings, 1 reply; 3+ messages in thread
From: Slark Xiao @ 2022-10-27 11:51 UTC (permalink / raw)
To: bhelgaas; +Cc: linux-pci, linux-kernel, 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.
Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
include/linux/pci_ids.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index b362d90eb9b0..e3bfea06b90e 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -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
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] PCI: Add vendor ID for Quectel and Cinterion
2022-10-27 11:51 [PATCH] PCI: Add vendor ID for Quectel and Cinterion Slark Xiao
@ 2022-10-27 14:27 ` Bjorn Helgaas
2022-10-28 2:41 ` Slark Xiao
0 siblings, 1 reply; 3+ messages in thread
From: Bjorn Helgaas @ 2022-10-27 14:27 UTC (permalink / raw)
To: Slark Xiao; +Cc: bhelgaas, linux-pci, linux-kernel
On Thu, Oct 27, 2022 at 07:51:23PM +0800, Slark Xiao wrote:
> 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.
> Signed-off-by: Slark Xiao <slark_xiao@163.com>
> ---
> include/linux/pci_ids.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index b362d90eb9b0..e3bfea06b90e 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -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.
> +#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.
> #define PCI_VENDOR_ID_COMPAQ 0x0e11
> #define PCI_DEVICE_ID_COMPAQ_TOKENRING 0x0508
> #define PCI_DEVICE_ID_COMPAQ_TACHYON 0xa0fc
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re:Re: [PATCH] PCI: Add vendor ID for Quectel and Cinterion
2022-10-27 14:27 ` Bjorn Helgaas
@ 2022-10-28 2:41 ` Slark Xiao
0 siblings, 0 replies; 3+ messages in thread
From: Slark Xiao @ 2022-10-28 2:41 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: bhelgaas, linux-pci, linux-kernel
At 2022-10-27 22:27:42, "Bjorn Helgaas" <helgaas@kernel.org> wrote:
>On Thu, Oct 27, 2022 at 07:51:23PM +0800, Slark Xiao wrote:
>> 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.
>
>> Signed-off-by: Slark Xiao <slark_xiao@163.com>
>> ---
>> include/linux/pci_ids.h | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
>> index b362d90eb9b0..e3bfea06b90e 100644
>> --- a/include/linux/pci_ids.h
>> +++ b/include/linux/pci_ids.h
>> @@ -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.
>
>> +#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.
>> #define PCI_VENDOR_ID_COMPAQ 0x0e11
>> #define PCI_DEVICE_ID_COMPAQ_TOKENRING 0x0508
>> #define PCI_DEVICE_ID_COMPAQ_TACHYON 0xa0fc
>> --
>> 2.34.1
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-28 3:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-27 11:51 [PATCH] PCI: Add vendor ID for Quectel and Cinterion Slark Xiao
2022-10-27 14:27 ` Bjorn Helgaas
2022-10-28 2:41 ` Slark Xiao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox