mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
|
From 6a150325917a6df9467beeaa6518ab91ada81d97 Mon Sep 17 00:00:00 2001
|
||
|
From: Song Fuchang <song.fc@gmail.com>
|
||
|
Date: Mon, 7 Nov 2022 19:18:35 +0530
|
||
|
Subject: [PATCH 02/13] bus: mhi: host: pci_generic: Add HP variant of T99W175
|
||
|
|
||
|
The Foxconn T99W175 modem has an HP variant, which has
|
||
|
the following output from lspci:
|
||
|
|
||
|
01:00.0 Wireless controller [0d40]: Device 03f0:0a6c
|
||
|
|
||
|
It also has some HP-specific serial numbers on the
|
||
|
metal case. It works well with this driver, so add
|
||
|
support for this to the pci_generic driver.
|
||
|
|
||
|
Signed-off-by: Song Fuchang <song.fc@gmail.com>
|
||
|
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
|
||
|
[mani: manually applied the patch]
|
||
|
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
||
|
---
|
||
|
drivers/bus/mhi/host/pci_generic.c | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
--- a/drivers/bus/mhi/host/pci_generic.c
|
||
|
+++ b/drivers/bus/mhi/host/pci_generic.c
|
||
|
@@ -596,6 +596,9 @@ static const struct pci_device_id mhi_pc
|
||
|
/* 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);
|