Skip to content

Commit ef8a0f6

Browse files
Greg Jesionowskikuba-moo
authored andcommitted
net: usb: lan78xx: add Allied Telesis AT29M2-AF
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>
1 parent ec6af09 commit ef8a0f6

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
@@ -76,6 +76,8 @@
7676
#define LAN7801_USB_PRODUCT_ID (0x7801)
7777
#define LAN78XX_EEPROM_MAGIC (0x78A5)
7878
#define LAN78XX_OTP_MAGIC (0x78F3)
79+
#define AT29M2AF_USB_VENDOR_ID (0x07C9)
80+
#define AT29M2AF_USB_PRODUCT_ID (0x0012)
7981

8082
#define MII_READ 1
8183
#define MII_WRITE 0
@@ -4734,6 +4736,10 @@ static const struct usb_device_id products[] = {
47344736
/* LAN7801 USB Gigabit Ethernet Device */
47354737
USB_DEVICE(LAN78XX_USB_VENDOR_ID, LAN7801_USB_PRODUCT_ID),
47364738
},
4739+
{
4740+
/* ATM2-AF USB Gigabit Ethernet Device */
4741+
USB_DEVICE(AT29M2AF_USB_VENDOR_ID, AT29M2AF_USB_PRODUCT_ID),
4742+
},
47374743
{},
47384744
};
47394745
MODULE_DEVICE_TABLE(usb, products);

0 commit comments

Comments
 (0)