Commit f95d76ab authored by Jens Axboe's avatar Jens Axboe

ipheth: add support for iPhone 4

This adds support for the iPhone 4 to the ipheth driver.
Acked-by: default avatarDiego Giagio <diego@giagio.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 9ee47476
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
#define USB_PRODUCT_IPHONE 0x1290 #define USB_PRODUCT_IPHONE 0x1290
#define USB_PRODUCT_IPHONE_3G 0x1292 #define USB_PRODUCT_IPHONE_3G 0x1292
#define USB_PRODUCT_IPHONE_3GS 0x1294 #define USB_PRODUCT_IPHONE_3GS 0x1294
#define USB_PRODUCT_IPHONE_4 0x1297
#define IPHETH_USBINTF_CLASS 255 #define IPHETH_USBINTF_CLASS 255
#define IPHETH_USBINTF_SUBCLASS 253 #define IPHETH_USBINTF_SUBCLASS 253
...@@ -92,6 +93,10 @@ static struct usb_device_id ipheth_table[] = { ...@@ -92,6 +93,10 @@ static struct usb_device_id ipheth_table[] = {
USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_3GS, USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_3GS,
IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS, IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
IPHETH_USBINTF_PROTO) }, IPHETH_USBINTF_PROTO) },
{ USB_DEVICE_AND_INTERFACE_INFO(
USB_VENDOR_APPLE, USB_PRODUCT_IPHONE_4,
IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
IPHETH_USBINTF_PROTO) },
{ } { }
}; };
MODULE_DEVICE_TABLE(usb, ipheth_table); MODULE_DEVICE_TABLE(usb, ipheth_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment