Module Name: src
Committed By: explorer
Date: Sun Mar 14 08:44:46 UTC 2010
Modified Files:
src/sys/dev/usb: usb_quirks.c usbdevs
Log Message:
add device id and quirks for iPhone 3GS (just copy the 3G ones)
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/usb/usb_quirks.c
cvs rdiff -u -r1.546 -r1.547 src/sys/dev/usb/usbdevs
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.65 src/sys/dev/usb/usb_quirks.c:1.66
--- src/sys/dev/usb/usb_quirks.c:1.65 Wed Jul 29 16:04:14 2009
+++ src/sys/dev/usb/usb_quirks.c Sun Mar 14 08:44:46 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_quirks.c,v 1.65 2009/07/29 16:04:14 jakllsch Exp $ */
+/* $NetBSD: usb_quirks.c,v 1.66 2010/03/14 08:44:46 explorer 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.65 2009/07/29 16:04:14 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.66 2010/03/14 08:44:46 explorer Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -125,6 +125,8 @@
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,
+ ANY, { UQ_HID_IGNORE | UQ_BAD_AUDIO }},
{ USB_VENDOR_QUALCOMM, USB_PRODUCT_QUALCOMM_CDMA_MSM,
ANY, { UQ_ASSUME_CM_OVER_DATA }},
Index: src/sys/dev/usb/usbdevs
diff -u src/sys/dev/usb/usbdevs:1.546 src/sys/dev/usb/usbdevs:1.547
--- src/sys/dev/usb/usbdevs:1.546 Thu Mar 11 10:35:22 2010
+++ src/sys/dev/usb/usbdevs Sun Mar 14 08:44:46 2010
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.546 2010/03/11 10:35:22 enami Exp $
+$NetBSD: usbdevs,v 1.547 2010/03/14 08:44:46 explorer Exp $
/*
* Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -699,6 +699,7 @@
product APPLE IPHONE 0x1290 iPhone
product APPLE IPOD_TOUCH 0x1291 iPod Touch
product APPLE IPHONE_3G 0x1292 iPhone 3G
+product APPLE IPHONE_3GS 0x1294 iPhone 3GS
product APPLE ETHERNET 0x1402 Apple USB to Ethernet
/* ArkMicroChips products */