diff --git a/ax88179_178a.c b/ax88179_178a.c index 889388e..11bbe9d 100644 --- a/ax88179_178a.c +++ b/ax88179_178a.c @@ -1,5 +1,6 @@ /* * ASIX AX88179 based USB 3.0 Ethernet Devices + * Copyright (C) 2015 Geoffrey Tran * Copyright (C) 2003-2005 David Hollis * Copyright (C) 2005 Phil Chang * Copyright (c) 2002-2003 TiVo Inc. @@ -2149,6 +2150,23 @@ static const struct driver_info mct_info = { .tx_fixup = ax88179_tx_fixup, }; +static const struct driver_info belkin_info = { + .description = "Belkin USB Ethernet Adapter", + .bind = ax88179_bind, + .unbind = ax88179_unbind, + .status = ax88179_status, + .link_reset = ax88179_link_reset, + .reset = ax88179_reset, +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 32) + .stop = ax88179_stop, + .flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_AVOID_UNLINK_URBS, +#else + .flags = FLAG_ETHER | FLAG_FRAMING_AX, +#endif + .rx_fixup = ax88179_rx_fixup, + .tx_fixup = ax88179_tx_fixup, +}; + static const struct usb_device_id products[] = { { /* ASIX AX88179 10/100/1000 */ @@ -2182,6 +2200,10 @@ static const struct usb_device_id products[] = { /* MCT USB 3.0 to Gigabit Ethernet Adapter */ USB_DEVICE(0x0711, 0x0179), .driver_info = (unsigned long) &mct_info, +}, { + /* Belkin B2B128 USB 3.0 Hub + Gigabit Ethernet Adapter */ + USB_DEVICE(0x050d, 0x0128), + .driver_info = (unsigned long) &belkin_info, }, { }, /* END */ };