Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb add device id and quirks for iPhone 3GS (just co...
details: https://anonhg.NetBSD.org/src/rev/86f4369e2dec
branches: trunk
changeset: 753004:86f4369e2dec
user: explorer <explorer%NetBSD.org@localhost>
date: Sun Mar 14 08:44:46 2010 +0000
description:
add device id and quirks for iPhone 3GS (just copy the 3G ones)
diffstat:
sys/dev/usb/usb_quirks.c | 6 ++++--
sys/dev/usb/usbdevs | 3 ++-
sys/dev/usb/usbdevs.h | 5 +++--
sys/dev/usb/usbdevs_data.h | 10 +++++++---
4 files changed, 16 insertions(+), 8 deletions(-)
diffs (101 lines):
diff -r 008115b4c0ca -r 86f4369e2dec sys/dev/usb/usb_quirks.c
--- a/sys/dev/usb/usb_quirks.c Sun Mar 14 08:24:18 2010 +0000
+++ b/sys/dev/usb/usb_quirks.c Sun Mar 14 08:44:46 2010 +0000
@@ -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 }},
diff -r 008115b4c0ca -r 86f4369e2dec sys/dev/usb/usbdevs
--- a/sys/dev/usb/usbdevs Sun Mar 14 08:24:18 2010 +0000
+++ b/sys/dev/usb/usbdevs Sun Mar 14 08:44:46 2010 +0000
@@ -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 */
diff -r 008115b4c0ca -r 86f4369e2dec sys/dev/usb/usbdevs.h
--- a/sys/dev/usb/usbdevs.h Sun Mar 14 08:24:18 2010 +0000
+++ b/sys/dev/usb/usbdevs.h Sun Mar 14 08:44:46 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: usbdevs.h,v 1.541 2010/03/11 10:35:59 enami Exp $ */
+/* $NetBSD: usbdevs.h,v 1.542 2010/03/14 08:45:12 explorer Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * 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
*/
/*
@@ -706,6 +706,7 @@
#define USB_PRODUCT_APPLE_IPHONE 0x1290 /* iPhone */
#define USB_PRODUCT_APPLE_IPOD_TOUCH 0x1291 /* iPod Touch */
#define USB_PRODUCT_APPLE_IPHONE_3G 0x1292 /* iPhone 3G */
+#define USB_PRODUCT_APPLE_IPHONE_3GS 0x1294 /* iPhone 3GS */
#define USB_PRODUCT_APPLE_ETHERNET 0x1402 /* Apple USB to Ethernet */
/* ArkMicroChips products */
diff -r 008115b4c0ca -r 86f4369e2dec sys/dev/usb/usbdevs_data.h
--- a/sys/dev/usb/usbdevs_data.h Sun Mar 14 08:24:18 2010 +0000
+++ b/sys/dev/usb/usbdevs_data.h Sun Mar 14 08:44:46 2010 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: usbdevs_data.h,v 1.542 2010/03/11 10:35:59 enami Exp $ */
+/* $NetBSD: usbdevs_data.h,v 1.543 2010/03/14 08:45:12 explorer Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
*
* generated from:
- * 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
*/
/*
@@ -2327,6 +2327,10 @@
"iPhone 3G",
},
{
+ USB_VENDOR_APPLE, USB_PRODUCT_APPLE_IPHONE_3GS,
+ "iPhone 3GS",
+ },
+ {
USB_VENDOR_APPLE, USB_PRODUCT_APPLE_ETHERNET,
"Apple USB to Ethernet",
},
@@ -7147,4 +7151,4 @@
"Prestige",
},
};
-const int usb_nproducts = 1311;
+const int usb_nproducts = 1312;
Home |
Main Index |
Thread Index |
Old Index