linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: usb: ax88179_178a: add Toshiba usb 3.0 adapter
@ 2020-09-23  7:52 Wilken Gottwalt
  2020-09-23 16:15 ` Jakub Kicinski
  0 siblings, 1 reply; 4+ messages in thread
From: Wilken Gottwalt @ 2020-09-23  7:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: David S. Miller, Jakub Kicinski

Adds the driver_info and usb ids of the AX88179 based Toshiba USB 3.0
ethernet adapter.

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@mailbox.org>
---
 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 ac7bc436da33..ed078e5a3629 100644
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -1829,6 +1829,19 @@ static const struct driver_info belkin_info = {
 	.tx_fixup = ax88179_tx_fixup,
 };
 
+static const struct driver_info toshiba_info = {
+	.description = "Toshiba 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[] = {
 {
 	/* ASIX AX88179 10/100/1000 */
@@ -1862,6 +1875,10 @@ static const struct usb_device_id products[] = {
 	/* Belkin B2B128 USB 3.0 Hub + Gigabit Ethernet Adapter */
 	USB_DEVICE(0x050d, 0x0128),
 	.driver_info = (unsigned long)&belkin_info,
+}, {
+	/* Toshiba USB 3.0 GBit Ethernet Adapter */
+	USB_DEVICE(0x0930, 0x0a13),
+	.driver_info = (unsigned long)&toshiba_info,
 },
 	{ },
 };
-- 
2.28.0


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

* Re: [PATCH] net: usb: ax88179_178a: add Toshiba usb 3.0 adapter
  2020-09-23  7:52 [PATCH] net: usb: ax88179_178a: add Toshiba usb 3.0 adapter Wilken Gottwalt
@ 2020-09-23 16:15 ` Jakub Kicinski
  0 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2020-09-23 16:15 UTC (permalink / raw)
  To: Wilken Gottwalt; +Cc: linux-kernel, David S. Miller

On Wed, 23 Sep 2020 09:52:09 +0200 Wilken Gottwalt wrote:
> Adds the driver_info and usb ids of the AX88179 based Toshiba USB 3.0
> ethernet adapter.
> 
> Signed-off-by: Wilken Gottwalt <wilken.gottwalt@mailbox.org>

Please repost your patches and CC netdev@vger.kernel.org.


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

* Re: [PATCH] net: usb: ax88179_178a: add Toshiba usb 3.0 adapter
  2020-09-24  6:27 Wilken Gottwalt
@ 2020-09-24 23:49 ` Jakub Kicinski
  0 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2020-09-24 23:49 UTC (permalink / raw)
  To: Wilken Gottwalt; +Cc: linux-kernel, David S. Miller, netdev

On Thu, 24 Sep 2020 08:27:22 +0200 Wilken Gottwalt wrote:
> Reposted and added netdev as suggested by Jakub Kicinski.

Thanks!

> ---

If you want to add a comment like the above you need to place it under
the '---' which git generates. Git removes everything after those lines.
With the patch as posted your real commit message would get cut off.
(You can try applying it with git am and see.)

You'll need to fix this and repost again.

> Adds the driver_info and usb ids of the AX88179 based Toshiba USB 3.0
> ethernet adapter.
> 
> Signed-off-by: Wilken Gottwalt <wilken.gottwalt@mailbox.org>
> ---
>  drivers/net/usb/ax88179_178a.c | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)

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

* [PATCH] net: usb: ax88179_178a: add Toshiba usb 3.0 adapter
@ 2020-09-24  6:27 Wilken Gottwalt
  2020-09-24 23:49 ` Jakub Kicinski
  0 siblings, 1 reply; 4+ messages in thread
From: Wilken Gottwalt @ 2020-09-24  6:27 UTC (permalink / raw)
  To: linux-kernel; +Cc: David S. Miller, Jakub Kicinski, netdev

Reposted and added netdev as suggested by Jakub Kicinski.

---
Adds the driver_info and usb ids of the AX88179 based Toshiba USB 3.0
ethernet adapter.

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@mailbox.org>
---
 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 ac7bc436da33..ed078e5a3629 100644
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -1829,6 +1829,19 @@ static const struct driver_info belkin_info = {
 	.tx_fixup = ax88179_tx_fixup,
 };
 
+static const struct driver_info toshiba_info = {
+	.description = "Toshiba 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[] = {
 {
 	/* ASIX AX88179 10/100/1000 */
@@ -1862,6 +1875,10 @@ static const struct usb_device_id products[] = {
 	/* Belkin B2B128 USB 3.0 Hub + Gigabit Ethernet Adapter */
 	USB_DEVICE(0x050d, 0x0128),
 	.driver_info = (unsigned long)&belkin_info,
+}, {
+	/* Toshiba USB 3.0 GBit Ethernet Adapter */
+	USB_DEVICE(0x0930, 0x0a13),
+	.driver_info = (unsigned long)&toshiba_info,
 },
 	{ },
 };
-- 
2.28.0


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

end of thread, other threads:[~2020-09-24 23:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23  7:52 [PATCH] net: usb: ax88179_178a: add Toshiba usb 3.0 adapter Wilken Gottwalt
2020-09-23 16:15 ` Jakub Kicinski
2020-09-24  6:27 Wilken Gottwalt
2020-09-24 23:49 ` Jakub Kicinski

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).