From 3d6e060835fb035a1d6244e9af954a3e63199543 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 21 Oct 2012 03:30:36 +0000 Subject: [PATCH] Add support for iPhone 5 tethering. PR: usb/172172 Submitted by: Ali Mashtizadeh Approved by: cperciva MFC after: 1 week --- sys/dev/usb/net/if_ipheth.c | 3 +++ sys/dev/usb/usbdevs | 1 + 2 files changed, 4 insertions(+) diff --git a/sys/dev/usb/net/if_ipheth.c b/sys/dev/usb/net/if_ipheth.c index 21db100ec503..28f941c6177b 100644 --- a/sys/dev/usb/net/if_ipheth.c +++ b/sys/dev/usb/net/if_ipheth.c @@ -161,6 +161,9 @@ static const STRUCT_USB_HOST_ID ipheth_devs[] = { {IPHETH_ID(USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_4, IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS, IPHETH_USBINTF_PROTO)}, + {IPHETH_ID(USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_5, + IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS, + IPHETH_USBINTF_PROTO)}, }; static int diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index a8bc61fa421e..c06df8ad63a1 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1078,6 +1078,7 @@ product APPLE IPOD_TOUCH 0x1291 iPod Touch product APPLE IPHONE_3G 0x1292 iPhone 3G product APPLE IPHONE_3GS 0x1294 iPhone 3GS product APPLE IPHONE_4 0x1297 iPhone 4 +product APPLE IPHONE_5 0x12a8 iPhone 5 product APPLE IPAD 0x129a iPad product APPLE ETHERNET 0x1402 Ethernet A1277