From: "ASIX_Allan [Office]" <allan@asix.com.tw>
To: <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
"'Grant Grundler'" <grundler@chromium.org>,
'Eugene' <elubarsky@gmail.com>,
"'ASIX Louis [蘇威陸]'" <louis@asix.com.tw>,
"'Jegannathan Ramanujam'" <jega@cypress.com>
Subject: [PATCH] drivers/net/usb/ax88179_178a: added Cypress GX3 VID_04b4/PID_3610
Date: Tue, 1 Dec 2015 09:16:10 +0800 [thread overview]
Message-ID: <00a201d12bd5$e1069b30$a313d190$@asix.com.tw> (raw)
Added to support Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge
Controller (VID_04b4/PID_3610).
Signed-off-by: Allan Chou <allan@asix.com.tw>
Tested-by: Allan Chou <allan@asix.com.tw>
---
This patch had been verified on x86 Linux kernel 4.1.6 system with Cypress
GX3 SuperSpeed to Gigabit Ethernet Bridge Controller (VID_04b4/PID_3610)
dongle.
diff -Naur a/ax88179_178a.c b/ax88179_178a.c
--- a/ax88179_178a.c 2015-08-17 11:52:51.000000000 +0800
+++ b/ax88179_178a.c 2015-11-30 16:44:31.311674000 +0800
@@ -1708,6 +1708,21 @@
.tx_fixup = ax88179_tx_fixup,
};
+static const struct driver_info cypress_GX3_info = {
+ .description = "Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge
Controller",
+ .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[] = {
{
/* ASIX AX88179 10/100/1000 */
@@ -1733,6 +1748,10 @@
/* Lenovo OneLinkDock Gigabit LAN */
USB_DEVICE(0x17ef, 0x304b),
.driver_info = (unsigned long)&lenovo_info,
+}, {
+ /* Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge Controller */
+ USB_DEVICE(0x04b4, 0x3610),
+ .driver_info = (unsigned long)&cypress_GX3_info,
},
{ },
};
---
Best regards,
Allan Chou
Technical Support Division
ASIX Electronics Corporation
TEL: 886-3-5799500 ext.228
FAX: 886-3-5799558
E-mail: allan@asix.com.tw
http://www.asix.com.tw/
reply other threads:[~2015-12-01 1:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00a201d12bd5$e1069b30$a313d190$@asix.com.tw' \
--to=allan@asix.com.tw \
--cc=davem@davemloft.net \
--cc=elubarsky@gmail.com \
--cc=grundler@chromium.org \
--cc=jega@cypress.com \
--cc=linux-kernel@vger.kernel.org \
--cc=louis@asix.com.tw \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).