Patchwork net: ipheth: Add USB ID for iPad mini

login
register
mail settings
Submitter Aaron Marburg
Date July 1, 2013, 10 p.m.
Message ID <20130701220006.GB10209@mahimahi.notetofutureself.org>
Download mbox | patch
Permalink /patch/256230/
State Accepted
Delegated to: David Miller
Headers show

Comments

Aaron Marburg - July 1, 2013, 10 p.m.
Adds the USB device ID (0x12ab) to the ipheth network-over-USB-tethering
driver for iOS devices.  Applied and tested against mainline tag v3.10
(as well as 3.8.x and 3.6.y kernel for Raspbian on Raspberry pi)


Signed-off-by: Aaron Marburg <amarburg@notetofutureself.org>

---


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - July 2, 2013, 7:33 a.m.
From: Aaron Marburg <amarburg@notetofutureself.org>
Date: Tue, 2 Jul 2013 10:00:06 +1200

> Adds the USB device ID (0x12ab) to the ipheth network-over-USB-tethering
> driver for iOS devices.  Applied and tested against mainline tag v3.10
> (as well as 3.8.x and 3.6.y kernel for Raspbian on Raspberry pi)
> 
> 
> Signed-off-by: Aaron Marburg <amarburg@notetofutureself.org>

Applied, thanks Aaron.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff -upr -X linux-3.10.pristine/Documentation/dontdiff linux-3.10.pristine/drivers/net/usb/ipheth.c linux-3.10.ipheth/drivers/net/usb/ipheth.c
--- linux-3.10.pristine/drivers/net/usb/ipheth.c	2013-07-01 21:28:56.577106633 +1200
+++ linux-3.10.ipheth/drivers/net/usb/ipheth.c	2013-07-01 21:31:31.021102411 +1200
@@ -60,6 +60,7 @@ 
 #define USB_PRODUCT_IPHONE_3GS  0x1294
 #define USB_PRODUCT_IPHONE_4	0x1297
 #define USB_PRODUCT_IPAD 0x129a
+#define USB_PRODUCT_IPAD_MINI    0x12ab
 #define USB_PRODUCT_IPHONE_4_VZW 0x129c
 #define USB_PRODUCT_IPHONE_4S	0x12a0
 #define USB_PRODUCT_IPHONE_5	0x12a8
@@ -107,6 +108,10 @@  static struct usb_device_id ipheth_table
 		IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
 		IPHETH_USBINTF_PROTO) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(
+		USB_VENDOR_APPLE, USB_PRODUCT_IPAD_MINI,
+		IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
+		IPHETH_USBINTF_PROTO) },
+	{ USB_DEVICE_AND_INTERFACE_INFO(
 		USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_4_VZW,
 		IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
 		IPHETH_USBINTF_PROTO) },