bus: mhi: host: pci_generic: Add HP variant of T99W175
PATCH RESEND 1/1 bus: mhi: host: pci_generic: Add HP variant of T99W175
The foxconn T99W175 has an HP variant, so add support for it to the pci_generic driver.
--- drivers/bus/mhi/host/pci_generic.c | 3 +++ 1 file changed, 3 insertions(+)
(quoted diff) +0 -0
b/drivers/bus/mhi/host/pci_generic.c
index 9e545f2a5a26..650e8b9c26ad 100644
drivers/bus/mhi/host/pci_generic.c +3 -0
@@ -592,6 +592,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* MV32-WB (Cinterion) */ { PCI_DEVICE(0x1269, 0x00bb), .driver_data = (kernel_ulong_t) &mhi_mv32_info }, +/* T99W175 (sdx55), HP variant */ + { PCI_DEVICE(0x03f0, 0x0a6c), + .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info }, { } };MODULE_DEVICE_TABLE (pci, mhi_pci_id_table);
-- 2.37.3
Manivannan Sadhasivam
maintainerQuoted 14 lines · Song Fuchang
The foxconn T99W175 has an HP variant, so add support for it to the
pci_genericdriver.Signed-off-by Song Fuchang<[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 3 +++ 1 file changed, 3 insertions(+)drivers/bus/mhi/host/pci_generic.c +0
-0
drivers/bus/mhi/host/pci_generic.c static const struct pci_device_id mhi_pci_id_table[] = { · line 596
Quoted 5 lines
drivers/bus/mhi/host/pci_generic.c +2
-0@@ -592,6 +592,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* MV32-WB (Cinterion) */ { PCI_DEVICE(0x1269, 0x00bb), .driver_data = (kernel_ulong_t) &mhi_mv32_info }, +/* T99W175 (sdx55), HP variant */ + { PCI_DEVICE(0x03f0, 0x0a6c),
Why a new VID for this modem? Other T99W series modems are using PCI_VENDOR_ID_FOXCONN.
Thanks,
Mani
Quoted 6 lines
drivers/bus/mhi/host/pci_generic.c +1
-1+ .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info }, { } };MODULE_DEVICE_TABLE (pci, mhi_pci_id_table); -- 2.37.3
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Hello, this modem is really a T99W175, but the vendor id 03f0 is for HP Inc. It also has some HP-specific serial numbers printed on its case.
Output of lspci for this modem:
01:00.0 Wireless controller [0d40]: Device 03f0:0a6c
I don't know why the HP's variant uses a different VID, maybe some business decisions? Though it works well with this driver on my laptop.
Thanks!
Quoted 31 lines · Manivannan Sadhasivam
Quoted 14 lines · Song Fuchang
The foxconn T99W175 has an HP variant, so add support for it to the
pci_genericdriver.Signed-off-by Song Fuchang<[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 3 +++ 1 file changed, 3 insertions(+)drivers/bus/mhi/host/pci_generic.c +0
-0drivers/bus/mhi/host/pci_generic.c static const struct pci_device_id mhi_pci_id_table[] = { · line 596
Quoted 5 lines
drivers/bus/mhi/host/pci_generic.c +2
-0@@ -592,6 +592,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* MV32-WB (Cinterion) */ { PCI_DEVICE(0x1269, 0x00bb), .driver_data = (kernel_ulong_t) &mhi_mv32_info }, +/* T99W175 (sdx55), HP variant */ + { PCI_DEVICE(0x03f0, 0x0a6c),Why a new VID for this modem? Other T99W series modems are using
PCI_VENDOR_ID_FOXCONN.Thanks,
ManiQuoted 6 lines
drivers/bus/mhi/host/pci_generic.c +1
-1+ .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info }, { } };MODULE_DEVICE_TABLE (pci, mhi_pci_id_table); -- 2.37.3
Manivannan Sadhasivam
maintainerQuoted 10 lines · Song Fuchang
Hello, this modem is really a T99W175, but the vendor id 03f0 is for HP Inc. It also has some HP-specific serial numbers printed on its case.
Output of lspci for this modem:
01:00.0 Wireless controller [0d40]: Device 03f0:0a6c
I don't know why the HP's variant uses a different VID, maybe some business decisions? Though it works well with this driver on my laptop.
Okay, thanks for the clarification. Could you please add these info to the commit message for the record?
Thanks,
Mani
Quoted 34 lines
Thanks!
Quoted 31 lines · Manivannan Sadhasivam
Quoted 14 lines · Song Fuchang
The foxconn T99W175 has an HP variant, so add support for it to the
pci_genericdriver.Signed-off-by Song Fuchang<[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 3 +++ 1 file changed, 3 insertions(+)drivers/bus/mhi/host/pci_generic.c +0
-0drivers/bus/mhi/host/pci_generic.c static const struct pci_device_id mhi_pci_id_table[] = { · line 596
Quoted 5 lines
drivers/bus/mhi/host/pci_generic.c +2
-0@@ -592,6 +592,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* MV32-WB (Cinterion) */ { PCI_DEVICE(0x1269, 0x00bb), .driver_data = (kernel_ulong_t) &mhi_mv32_info }, +/* T99W175 (sdx55), HP variant */ + { PCI_DEVICE(0x03f0, 0x0a6c),Why a new VID for this modem? Other T99W series modems are using
PCI_VENDOR_ID_FOXCONN.Thanks,
ManiQuoted 6 lines
drivers/bus/mhi/host/pci_generic.c +1
-1+ .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info }, { } };MODULE_DEVICE_TABLE (pci, mhi_pci_id_table); -- 2.37.3
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Quoted 6 lines · Manivannan Sadhasivam
Quoted 5 lines · Song Fuchang
Hello, this modem is really a T99W175, but the vendor id 03f0 is for HP Inc. It also has some HP-specific serial numbers printed on its case.
Output of lspci for this modem:
Quoted 7 lines
Quoted 5 lines
01:00.0 Wireless controller [0d40]: Device 03f0:0a6c
I don't know why the HP's variant uses a different VID, maybe some business decisions? Though it works well with this driver on my laptop.
Okay, thanks for the clarification. Could you please add these info to the commit message for the record?
Sure, I will send a v2 patch with detailed commit message.
Quoted 37 lines
Thanks,
ManiQuoted 34 lines
Thanks!
Quoted 31 lines · Manivannan Sadhasivam
Quoted 14 lines · Song Fuchang
The foxconn T99W175 has an HP variant, so add support for it to the
pci_genericdriver.Signed-off-by Song Fuchang<[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 3 +++ 1 file changed, 3 insertions(+)drivers/bus/mhi/host/pci_generic.c +0
-0drivers/bus/mhi/host/pci_generic.c static const struct pci_device_id mhi_pci_id_table[] = { · line 596
Quoted 5 lines
drivers/bus/mhi/host/pci_generic.c +2
-0@@ -592,6 +592,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* MV32-WB (Cinterion) */ { PCI_DEVICE(0x1269, 0x00bb), .driver_data = (kernel_ulong_t) &mhi_mv32_info }, +/* T99W175 (sdx55), HP variant */ + { PCI_DEVICE(0x03f0, 0x0a6c),Why a new VID for this modem? Other T99W series modems are using
PCI_VENDOR_ID_FOXCONN.Thanks,
ManiQuoted 6 lines
drivers/bus/mhi/host/pci_generic.c +1
-1+ .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info }, { } };MODULE_DEVICE_TABLE (pci, mhi_pci_id_table); -- 2.37.3