Module Name: src Committed By: christos Date: Fri Apr 21 15:06:37 UTC 2017
Modified Files: src/sys/dev/usb: uipad.c Log Message: Add some more products To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/usb/uipad.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/uipad.c diff -u src/sys/dev/usb/uipad.c:1.4 src/sys/dev/usb/uipad.c:1.5 --- src/sys/dev/usb/uipad.c:1.4 Sun Dec 4 05:12:35 2016 +++ src/sys/dev/usb/uipad.c Fri Apr 21 11:06:37 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: uipad.c,v 1.4 2016/12/04 10:12:35 skrll Exp $ */ +/* $NetBSD: uipad.c,v 1.5 2017/04/21 15:06:37 christos Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uipad.c,v 1.4 2016/12/04 10:12:35 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uipad.c,v 1.5 2017/04/21 15:06:37 christos Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -83,6 +83,18 @@ struct uipad_softc { */ static const struct usb_devno uipad_devs[] = { { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPAD }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPAD_2 }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPAD_3 }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPAD_MINI }, +#if 0 + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_3G }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_3GS }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_4 }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_4_VZW }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_4S }, + { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_5 }, +#endif }; #define uipad_lookup(v, p) usb_lookup(uipad_devs, v, p)