Commit f11a5bc1 authored by Freddy Xin's avatar Freddy Xin Committed by David S. Miller

ax88179_178a: Add VID:DID for Samsung USB Ethernet Adapter

Add VID:DID for Samsung USB Ethernet Adapter.
Signed-off-by: default avatarFreddy Xin <freddy@asix.com.tw>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7e78b83c
...@@ -1406,6 +1406,19 @@ static const struct driver_info sitecom_info = { ...@@ -1406,6 +1406,19 @@ static const struct driver_info sitecom_info = {
.tx_fixup = ax88179_tx_fixup, .tx_fixup = ax88179_tx_fixup,
}; };
static const struct driver_info samsung_info = {
.description = "Samsung USB Ethernet Adapter",
.bind = ax88179_bind,
.unbind = ax88179_unbind,
.status = ax88179_status,
.link_reset = ax88179_link_reset,
.reset = ax88179_reset,
.stop = ax88179_stop,
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
.rx_fixup = ax88179_rx_fixup,
.tx_fixup = ax88179_tx_fixup,
};
static const struct usb_device_id products[] = { static const struct usb_device_id products[] = {
{ {
/* ASIX AX88179 10/100/1000 */ /* ASIX AX88179 10/100/1000 */
...@@ -1418,7 +1431,11 @@ static const struct usb_device_id products[] = { ...@@ -1418,7 +1431,11 @@ static const struct usb_device_id products[] = {
}, { }, {
/* Sitecom USB 3.0 to Gigabit Adapter */ /* Sitecom USB 3.0 to Gigabit Adapter */
USB_DEVICE(0x0df6, 0x0072), USB_DEVICE(0x0df6, 0x0072),
.driver_info = (unsigned long) &sitecom_info, .driver_info = (unsigned long)&sitecom_info,
}, {
/* Samsung USB Ethernet Adapter */
USB_DEVICE(0x04e8, 0xa100),
.driver_info = (unsigned long)&samsung_info,
}, },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment