diff mbox series

[net-next,v2,7/7] net: tn40xx: add pci-id of the aqr105-based tehuti tn4010 cards

Message ID trinity-dc1aa080-4a62-4b56-8030-1841ae570b2d-1726431127141@3c-app-gmx-bap07 (mailing list archive)
State New
Delegated to: Netdev Maintainers
Headers show
Series None | expand

Commit Message

Hans-Frieder Vogt Sept. 15, 2024, 8:12 p.m. UTC
Add the PCI-ID of the AQR105-based Tehuti TN4010 cards to allow loading of the
tn40xx driver on these cards. Here, I chose the detailed definition with the
subvendor ID similar to the QT2025 cards with the PCI-ID TEHUTI:0x4022,
because there is a card with an AQ2104 hiding amongst the AQR105 cards, and
they all come with the same PCI-ID (TEHUTI:0x4025). And the AQ2104 is not yet
supported.

Signed-off-by: Hans-Frieder Vogt <hfdevel@gmx.net>
---
 drivers/net/ethernet/tehuti/tn40.c | 4 ++++
 1 file changed, 4 insertions(+)

--
2.45.2
diff mbox series

Patch

diff --git a/drivers/net/ethernet/tehuti/tn40.c b/drivers/net/ethernet/tehuti/tn40.c
index 9ccf5cd89663..59d979d82aad 100644
--- a/drivers/net/ethernet/tehuti/tn40.c
+++ b/drivers/net/ethernet/tehuti/tn40.c
@@ -1839,6 +1839,10 @@  static const struct pci_device_id tn40_id_table[] = {
 			 PCI_VENDOR_ID_ASUSTEK, 0x8709) },
 	{ PCI_DEVICE_SUB(PCI_VENDOR_ID_TEHUTI, 0x4022,
 			 PCI_VENDOR_ID_EDIMAX, 0x8103) },
+	{ PCI_DEVICE_SUB(PCI_VENDOR_ID_TEHUTI, 0x4025,
+			 PCI_VENDOR_ID_TEHUTI, 0x3015) },
+	{ PCI_DEVICE_SUB(PCI_VENDOR_ID_TEHUTI, 0x4025,
+			 PCI_VENDOR_ID_EDIMAX, 0x8102) },
 	{ }
 };