Patchwork [precise/quantal,sru] asix: Adds support for Lenovo 10/100 USB dongle.

login
register
mail settings
Submitter Chris J Arges
Date Dec. 11, 2012, 8:25 p.m.
Message ID <50C796AC.6080207@canonical.com>
Download mbox | patch
Permalink /patch/205298/
State New
Headers show

Comments

Chris J Arges - Dec. 11, 2012, 8:25 p.m.
BugLink: http://bugs.launchpad.net/bugs/1087480

SRU Justification:

Impact: Lenovo Carbon X1 has an asix USB networking driver that doesn't
work on Precise and Quantal. By enabling this small backport, usb
networking works.

Fix: Backport upstream commit 66dc81ecd71332783c92fb170950d5ddb43da461.
This commit is present in Raring.

Testcase: Try booting Lenovo Carbon X1 and try asix USB networking
driver. If we can test a valid connection and pass traffic then the test
passes.

--chris j arges
Seth Forshee - Dec. 11, 2012, 8:32 p.m.

Tim Gardner - Dec. 11, 2012, 8:37 p.m.

Patch

From 3f186efd92ddfd978ff42f4306953bfaa413fdd7 Mon Sep 17 00:00:00 2001
From: Quinlan Pfiffer <qpfiffer@gmail.com>
Date: Thu, 6 Dec 2012 17:14:50 -0600
Subject: [PATCH] asix: Adds support for Lenovo 10/100 USB dongle.

BugLink: http://bugs.launchpad.net/bugs/1087480

This dongle ships with the X1 Carbon, and has an AX88772B
usb to ethernet chip in it.

Signed-off-by: Quinlan Pfiffer <qpfiffer@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(backported from commit 66dc81ecd71332783c92fb170950d5ddb43da461)
Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
---
 drivers/net/usb/asix.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index ebcb7d4..d603f51 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb/asix.c
@@ -1572,6 +1572,10 @@  static const struct usb_device_id	products [] = {
 	USB_DEVICE (0x04f1, 0x3008),
 	.driver_info = (unsigned long) &ax8817x_info,
 }, {
+	// Lenovo U2L100P 10/100
+	USB_DEVICE (0x17ef, 0x7203),
+	.driver_info = (unsigned long) &ax88772_info,
+}, {
 	// ASIX AX88772B 10/100
 	USB_DEVICE (0x0b95, 0x772b),
 	.driver_info = (unsigned long) &ax88772_info,
-- 
1.8.0