]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net: tn40xx: add pci-id of the aqr105-based Tehuti TN4010 cards
authorHans-Frieder Vogt <hfdevel@gmx.net>
Sat, 22 Mar 2025 10:45:58 +0000 (11:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:12:27 +0000 (11:12 +0200)
[ Upstream commit 53377b5c2952097527b01ce2f1d9a9332f042f70 ]

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). But
the AQ2104 is currently not supported.

Signed-off-by: Hans-Frieder Vogt <hfdevel@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250322-tn9510-v3a-v7-7-672a9a3d8628@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/tehuti/tn40.c

index 259bdac24cf211113b8f80934feb093d61e46f2d..a6965258441c4994ed571977c195a3733dcf1067 100644 (file)
@@ -1832,6 +1832,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, PCI_DEVICE_ID_TEHUTI_TN9510,
+                        PCI_VENDOR_ID_TEHUTI, 0x3015) },
+       { PCI_DEVICE_SUB(PCI_VENDOR_ID_TEHUTI, PCI_DEVICE_ID_TEHUTI_TN9510,
+                        PCI_VENDOR_ID_EDIMAX, 0x8102) },
        { }
 };