summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Gerhard <rainbow@irh.it>2012-06-25 09:04:47 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-25 16:20:41 -0700
commit6de0298ec9c1edaf330b71b57346241ece8f3346 (patch)
tree4475a2b874aba5fdc2a7ddaa96547dadad0c9ea7
parent1fdc7630b2cba4a5aeb5fc3834c7189716fdbcb0 (diff)
downloadlinux-stable-6de0298ec9c1edaf330b71b57346241ece8f3346.tar.gz
linux-stable-6de0298ec9c1edaf330b71b57346241ece8f3346.tar.bz2
linux-stable-6de0298ec9c1edaf330b71b57346241ece8f3346.zip
ipheth: add support for iPad
This adds support for the iPad to the ipheth driver. (product id = 0x129a) Signed-off-by: Davide Gerhard <rainbow@irh.it> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/usb/ipheth.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/usb/ipheth.c b/drivers/net/usb/ipheth.c
index 964031e3da87..a28a983d465e 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_IPAD 0x129a
#define USB_PRODUCT_IPHONE_4_VZW 0x129c
#define USB_PRODUCT_IPHONE_4S 0x12a0
@@ -101,6 +102,10 @@ static struct usb_device_id ipheth_table[] = {
IPHETH_USBINTF_CLASS, IPHETH_USBINTF_SUBCLASS,
IPHETH_USBINTF_PROTO) },
{ USB_DEVICE_AND_INTERFACE_INFO(
+ USB_VENDOR_APPLE, USB_PRODUCT_IPAD,
+ 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) },