Module Name: src
Committed By: buhrow
Date: Fri May 25 16:33:54 UTC 2012
Modified Files:
src/sys/dev/usb: usb_quirks.c
Log Message:
Added the Apple iPod Touch (4th generation)
to the list of Apple devices with bogus uhid and uaudio matches.
It now attaches as a ugen device.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/usb/usb_quirks.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/usb_quirks.c
diff -u src/sys/dev/usb/usb_quirks.c:1.74 src/sys/dev/usb/usb_quirks.c:1.75
--- src/sys/dev/usb/usb_quirks.c:1.74 Sat Feb 11 05:27:23 2012
+++ src/sys/dev/usb/usb_quirks.c Fri May 25 16:33:54 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_quirks.c,v 1.74 2012/02/11 05:27:23 plunky Exp $ */
+/* $NetBSD: usb_quirks.c,v 1.75 2012/05/25 16:33:54 buhrow Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_quirks.c,v 1.30 2003/01/02 04:15:55 imp Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.74 2012/02/11 05:27:23 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.75 2012/05/25 16:33:54 buhrow Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -129,6 +129,8 @@ Static const struct usbd_quirk_entry {
ANY, { UQ_HID_IGNORE | UQ_BAD_AUDIO }},
{ USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPOD_TOUCH,
ANY, { UQ_HID_IGNORE | UQ_BAD_AUDIO }},
+ { USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPOD_TOUCH_4G,
+ ANY, { UQ_HID_IGNORE | UQ_BAD_AUDIO }},
{ USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_3G,
ANY, { UQ_HID_IGNORE | UQ_BAD_AUDIO }},
{ USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_3GS,