Skip to content

Commit 59464a2

Browse files
committed
net: usb: lan78xx: add Allied Telesis AT29M2-AF
jira LE-2349 Rebuild_History Non-Buildable kernel-4.18.0-553.40.1.el8_10 commit-author Greg Jesionowski <jesionowskigreg@gmail.com> commit ef8a0f6 This adds the vendor and product IDs for the AT29M2-AF which is a lan7801-based device. Signed-off-by: Greg Jesionowski <jesionowskigreg@gmail.com> Link: https://lore.kernel.org/r/20211214221027.305784-1-jesionowskigreg@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> (cherry picked from commit ef8a0f6) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent 109c9ff commit 59464a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/net/usb/lan78xx.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
#define LAN7801_USB_PRODUCT_ID (0x7801)
6565
#define LAN78XX_EEPROM_MAGIC (0x78A5)
6666
#define LAN78XX_OTP_MAGIC (0x78F3)
67+
#define AT29M2AF_USB_VENDOR_ID (0x07C9)
68+
#define AT29M2AF_USB_PRODUCT_ID (0x0012)
6769

6870
#define MII_READ 1
6971
#define MII_WRITE 0
@@ -4174,6 +4176,10 @@ static const struct usb_device_id products[] = {
41744176
/* LAN7801 USB Gigabit Ethernet Device */
41754177
USB_DEVICE(LAN78XX_USB_VENDOR_ID, LAN7801_USB_PRODUCT_ID),
41764178
},
4179+
{
4180+
/* ATM2-AF USB Gigabit Ethernet Device */
4181+
USB_DEVICE(AT29M2AF_USB_VENDOR_ID, AT29M2AF_USB_PRODUCT_ID),
4182+
},
41774183
{},
41784184
};
41794185
MODULE_DEVICE_TABLE(usb, products);

0 commit comments

Comments
 (0)