Patchwork iPhone 4 Verizon CDMA USB Product ID add

login
register
mail settings
Submitter Kavan Smith
Date Sept. 1, 2011, 10:01 p.m.
Message ID <1314914492-11542-1-git-send-email-kavansmith82@gmail.com>
Download mbox | patch
Permalink /patch/113006/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Kavan Smith - Sept. 1, 2011, 10:01 p.m.
Add USB product ID for iPhone 4 CDMA Verizon
Tested on at least 2 devices

Signed-off-by: Kavan Smith <kavansmith82@gmail.com>

---
 drivers/net/usb/ipheth.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
David Miller - Sept. 1, 2011, 10:10 p.m.
From: Kavan Smith <kavansmith82@gmail.com>
Date: Thu,  1 Sep 2011 15:01:32 -0700

> Add USB product ID for iPhone 4 CDMA Verizon
> Tested on at least 2 devices
> 
> Signed-off-by: Kavan Smith <kavansmith82@gmail.com>

I've seen your previous submission already, you don't need
to send this again.
--
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 --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c
index 15772b1..13c1f04 100644
--- a/drivers/net/usb/ipheth.c
+++ b/drivers/net/usb/ipheth.c
@@ -59,6 +59,7 @@ 
 #define USB_PRODUCT_IPHONE_3G   0x1292
 #define USB_PRODUCT_IPHONE_3GS  0x1294
 #define USB_PRODUCT_IPHONE_4	0x1297
+#define USB_PRODUCT_IPHONE_4_VZW 0x129c
 
 #define IPHETH_USBINTF_CLASS    255
 #define IPHETH_USBINTF_SUBCLASS 253
@@ -98,6 +99,10 @@  static struct usb_device_id ipheth_table[] = {
 		USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_4,
 		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) },
 	{ }
 };
 MODULE_DEVICE_TABLE(usb, ipheth_table);