[PATCH 2/2] net: ipheth: Add support for iPad 3.

From: Marcus Sundberg
Date: Tue Sep 24 2013 - 16:43:59 EST


Add USB device ID 0x12a6 to the ipheth network-over-USB-tethering
driver for iOS devices.

Signed-off-by: Marcus Sundberg <marcus@xxxxxxxxxxxxxxxxxx>
---
drivers/net/usb/ipheth.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c
index a736ebb..fc3e2a4 100644
--- a/drivers/net/usb/ipheth.c
+++ b/drivers/net/usb/ipheth.c
@@ -62,6 +62,7 @@
#define USB_PRODUCT_IPAD 0x129a
#define USB_PRODUCT_IPHONE_4_VZW 0x129c
#define USB_PRODUCT_IPHONE_4S 0x12a0
+#define USB_PRODUCT_IPAD_3 0x12a6
#define USB_PRODUCT_IPHONE_5 0x12a8
#define USB_PRODUCT_IPAD_MINI 0x12ab

@@ -123,6 +124,10 @@ static struct usb_device_id ipheth_table[] = {
USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_5,
IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
IPHETH_USBINTF_PROTO) },
+ { USB_DEVICE_AND_INTERFACE_INFO(
+ USB_VENDOR_APPLE, USB_PRODUCT_IPAD_3,
+ IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
+ IPHETH_USBINTF_PROTO) },
{ }
};
MODULE_DEVICE_TABLE(usb, ipheth_table);
--
1.7.9.5


--
------------------------------------------------------------------
Marcus Sundberg <marcus@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/