Skip to content

Commit f69a47f

Browse files
Greg Jesionowskigregkh
authored andcommitted
net: usb: lan78xx: add Allied Telesis AT29M2-AF
commit ef8a0f6 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 8c0059a commit f69a47f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎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
@@ -4142,6 +4144,10 @@ static const struct usb_device_id products[] = {
41424144
/* LAN7801 USB Gigabit Ethernet Device */
41434145
USB_DEVICE(LAN78XX_USB_VENDOR_ID, LAN7801_USB_PRODUCT_ID),
41444146
},
4147+
{
4148+
/* ATM2-AF USB Gigabit Ethernet Device */
4149+
USB_DEVICE(AT29M2AF_USB_VENDOR_ID, AT29M2AF_USB_PRODUCT_ID),
4150+
},
41454151
{},
41464152
};
41474153
MODULE_DEVICE_TABLE(usb, products);

0 commit comments

Comments
 (0)