netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] USB AX88179/178A: Support D-Link DUB-1312
@ 2014-02-28 17:50 Gerry Demaret
  2014-03-03  1:30 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Gerry Demaret @ 2014-02-28 17:50 UTC (permalink / raw)
  To: davem, freddy, edumazet, ming.lei, dchang, emilgoode
  Cc: linux-usb, netdev, linux-kernel, Gerry Demaret

Add the USB device ID for the D-Link DUB-1312 USB 3.0 to Gigabit Ethernet
Adapter to the AX88179/178A driver.

Signed-off-by: Gerry Demaret <gerry@tigron.be>
---
 drivers/net/usb/ax88179_178a.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c
index 955df81..be5bfad 100644
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -1395,6 +1395,19 @@ static const struct driver_info ax88178a_info = {
 	.tx_fixup = ax88179_tx_fixup,
 };
 
+static const struct driver_info dlink_dub1312_info = {
+	.description = "D-Link DUB-1312 USB 3.0 to Gigabit 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 driver_info sitecom_info = {
 	.description = "Sitecom USB 3.0 to Gigabit Adapter",
 	.bind = ax88179_bind,
@@ -1431,6 +1444,10 @@ static const struct usb_device_id products[] = {
 	USB_DEVICE(0x0b95, 0x178a),
 	.driver_info = (unsigned long)&ax88178a_info,
 }, {
+	/* D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter */
+	USB_DEVICE(0x2001, 0x4a00),
+	.driver_info = (unsigned long)&dlink_dub1312_info,
+}, {
 	/* Sitecom USB 3.0 to Gigabit Adapter */
 	USB_DEVICE(0x0df6, 0x0072),
 	.driver_info = (unsigned long)&sitecom_info,
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] USB AX88179/178A: Support D-Link DUB-1312
  2014-02-28 17:50 [PATCH] USB AX88179/178A: Support D-Link DUB-1312 Gerry Demaret
@ 2014-03-03  1:30 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-03-03  1:30 UTC (permalink / raw)
  To: gerry
  Cc: freddy, edumazet, ming.lei, dchang, emilgoode, linux-usb, netdev,
	linux-kernel

From: Gerry Demaret <gerry@tigron.be>
Date: Fri, 28 Feb 2014 18:50:46 +0100

> Add the USB device ID for the D-Link DUB-1312 USB 3.0 to Gigabit Ethernet
> Adapter to the AX88179/178A driver.
> 
> Signed-off-by: Gerry Demaret <gerry@tigron.be>

Applied, thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-03  1:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 17:50 [PATCH] USB AX88179/178A: Support D-Link DUB-1312 Gerry Demaret
2014-03-03  1:30 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).