* [PATCH] iPhone 5 support for ipheth. [not found] <CADx9NEeyPUNrOiWHn97eOTp5skBqa7D9t8m_90QDAgs+kKtybg@mail.gmail.com> @ 2012-10-11 21:08 ` Jay Purohit 2012-10-11 21:15 ` David Miller 0 siblings, 1 reply; 3+ messages in thread From: Jay Purohit @ 2012-10-11 21:08 UTC (permalink / raw) To: netdev I noticed that the iPhone ethernet driver did not support iPhone 5. I quickly added support to it in my kernel, here's a patch. Signed-off-by: Jay Purohit <jspurohit@velocitylimitless.com> Acked-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> --- linux-3.6.1/drivers/net/usb/ipheth.c 2012-10-07 10:41:28.000000000 -0500 +++ new/linux-3.6.1/drivers/net/usb/ipheth.c 2012-10-11 11:38:17.242000596 -0500 @@ -62,6 +62,8 @@ #define USB_PRODUCT_IPAD 0x129a #define USB_PRODUCT_IPHONE_4_VZW 0x129c #define USB_PRODUCT_IPHONE_4S 0x12a0 +#define USB_PRODUCT_IPHONE_5 0x12a8 + #define IPHETH_USBINTF_CLASS 255 #define IPHETH_USBINTF_SUBCLASS 253 @@ -113,6 +115,10 @@ USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_4S, IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS, IPHETH_USBINTF_PROTO) }, + { USB_DEVICE_AND_INTERFACE_INFO( + USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_5, + IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS, + IPHETH_USBINTF_PROTO) }, { } }; MODULE_DEVICE_TABLE(usb, ipheth_table); ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iPhone 5 support for ipheth. 2012-10-11 21:08 ` [PATCH] iPhone 5 support for ipheth Jay Purohit @ 2012-10-11 21:15 ` David Miller 2012-10-14 17:07 ` [PATCH] usb/ipheth: Add iPhone 5 support Jan Ceuleers 0 siblings, 1 reply; 3+ messages in thread From: David Miller @ 2012-10-11 21:15 UTC (permalink / raw) To: jspurohit; +Cc: netdev From: Jay Purohit <jspurohit@velocitylimitless.com> Date: Thu, 11 Oct 2012 16:08:09 -0500 > I noticed that the iPhone ethernet driver did not support > iPhone 5. I quickly added support to it in my kernel, here's > a patch. > > Signed-off-by: Jay Purohit <jspurohit@velocitylimitless.com> > Acked-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> > > --- linux-3.6.1/drivers/net/usb/ipheth.c 2012-10-07 > 10:41:28.000000000 -0500 > +++ new/linux-3.6.1/drivers/net/usb/ipheth.c 2012-10-11 > 11:38:17.242000596 -0500 Patch corrupted by your email client, please fix this up and resend after you've verified that you can email yourself this patch and apply the patch that you receive in the email just fine. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] usb/ipheth: Add iPhone 5 support 2012-10-11 21:15 ` David Miller @ 2012-10-14 17:07 ` Jan Ceuleers 0 siblings, 0 replies; 3+ messages in thread From: Jan Ceuleers @ 2012-10-14 17:07 UTC (permalink / raw) To: David S. Miller; +Cc: netdev, Jay Purohit, Valdis Kletnieks From: Jay Purohit <jspurohit@velocitylimitless.com> I noticed that the iPhone ethernet driver did not support iPhone 5. I quickly added support to it in my kernel, here's a patch. Signed-off-by: Jay Purohit <jspurohit@velocitylimitless.com> Acked-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Signed-off-by: Jan Ceuleers <jan.ceuleers@computer.org> --- Resubmitting on behalf of Jay, as he may have toolchain issues. 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 a28a983..534d8be 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_IPHONE_5 0x12a8 #define IPHETH_USBINTF_CLASS 255 #define IPHETH_USBINTF_SUBCLASS 253 @@ -113,6 +114,10 @@ static struct usb_device_id ipheth_table[] = { USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_4S, IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS, IPHETH_USBINTF_PROTO) }, + { USB_DEVICE_AND_INTERFACE_INFO( + USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_5, + IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS, + IPHETH_USBINTF_PROTO) }, { } }; MODULE_DEVICE_TABLE(usb, ipheth_table); -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-14 17:10 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <CADx9NEeyPUNrOiWHn97eOTp5skBqa7D9t8m_90QDAgs+kKtybg@mail.gmail.com> 2012-10-11 21:08 ` [PATCH] iPhone 5 support for ipheth Jay Purohit 2012-10-11 21:15 ` David Miller 2012-10-14 17:07 ` [PATCH] usb/ipheth: Add iPhone 5 support Jan Ceuleers
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).