2012-02-15 17:50:49

by Tim Gardner

[permalink] [raw]
Subject: [PATCH] ipheth: Add iPhone 4S

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

Cc: [email protected] 3.2+
Signed-off-by: Till Kamppeter <[email protected]>
Signed-off-by: Tim Gardner <[email protected]>
---
drivers/net/usb/ipheth.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c
index 13c1f04..ad96164 100644
--- a/drivers/net/usb/ipheth.c
+++ b/drivers/net/usb/ipheth.c
@@ -60,6 +60,7 @@
#define USB_PRODUCT_IPHONE_3GS 0x1294
#define USB_PRODUCT_IPHONE_4 0x1297
#define USB_PRODUCT_IPHONE_4_VZW 0x129c
+#define USB_PRODUCT_IPHONE_4S 0x12a0

#define IPHETH_USBINTF_CLASS 255
#define IPHETH_USBINTF_SUBCLASS 253
@@ -103,6 +104,10 @@ static struct usb_device_id ipheth_table[] = {
USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_4_VZW,
IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
IPHETH_USBINTF_PROTO) },
+ { USB_DEVICE_AND_INTERFACE_INFO(
+ USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_4S,
+ IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
+ IPHETH_USBINTF_PROTO) },
{ }
};
MODULE_DEVICE_TABLE(usb, ipheth_table);
--
1.7.9


2012-02-15 19:51:13

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] ipheth: Add iPhone 4S

From: Tim Gardner <[email protected]>
Date: Wed, 15 Feb 2012 10:50:15 -0700

> BugLink: http://bugs.launchpad.net/bugs/900802
>
> Cc: [email protected] 3.2+
> Signed-off-by: Till Kamppeter <[email protected]>
> Signed-off-by: Tim Gardner <[email protected]>

Applied.