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 Sony PlayStation2 EyeToy.



details:   https://anonhg.NetBSD.org/src/rev/a47ae4eb5436
branches:  trunk
changeset: 573219:a47ae4eb5436
user:      hamajima <hamajima%NetBSD.org@localhost>
date:      Sat Jan 22 16:38:55 2005 +0000

description:
Add Sony PlayStation2 EyeToy.

diffstat:

 sys/dev/usb/usb_quirks.c   |   6 ++++--
 sys/dev/usb/usbdevs        |   4 +++-
 sys/dev/usb/usbdevs.h      |   4 +++-
 sys/dev/usb/usbdevs_data.h |  14 +++++++++++++-
 4 files changed, 23 insertions(+), 5 deletions(-)

diffs (91 lines):

diff -r 68c7d40d9f56 -r a47ae4eb5436 sys/dev/usb/usb_quirks.c
--- a/sys/dev/usb/usb_quirks.c  Sat Jan 22 15:36:09 2005 +0000
+++ b/sys/dev/usb/usb_quirks.c  Sat Jan 22 16:38:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_quirks.c,v 1.50 2004/06/23 02:30:52 mycroft Exp $  */
+/*     $NetBSD: usb_quirks.c,v 1.51 2005/01/22 16:38:55 hamajima Exp $ */
 /*     $FreeBSD: src/sys/dev/usb/usb_quirks.c,v 1.30 2003/01/02 04:15:55 imp Exp $     */
 
 /*
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.50 2004/06/23 02:30:52 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.51 2005/01/22 16:38:55 hamajima Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -68,6 +68,8 @@
  { USB_VENDOR_DALLAS, USB_PRODUCT_DALLAS_J6502,            0x0a2, { UQ_AU_NO_XU }},
  { USB_VENDOR_ALTEC, USB_PRODUCT_ALTEC_ADA70,      0x103, { UQ_BAD_ADC }},
  { USB_VENDOR_ALTEC, USB_PRODUCT_ALTEC_ASC495,      0x000, { UQ_BAD_AUDIO }},
+ { USB_VENDOR_SONY, USB_PRODUCT_SONY_PS2EYETOY4,    0x000, { UQ_BAD_AUDIO }},
+ { USB_VENDOR_SONY, USB_PRODUCT_SONY_PS2EYETOY5,    0x000, { UQ_BAD_AUDIO }},
  { USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_QUICKCAMPRONB,
        0x000, { UQ_BAD_AUDIO }},
  { USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_QUICKCAMPRO4K,
diff -r 68c7d40d9f56 -r a47ae4eb5436 sys/dev/usb/usbdevs
--- a/sys/dev/usb/usbdevs       Sat Jan 22 15:36:09 2005 +0000
+++ b/sys/dev/usb/usbdevs       Sat Jan 22 16:38:55 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.392 2004/12/29 08:38:44 imp Exp $
+$NetBSD: usbdevs,v 1.393 2005/01/22 16:38:55 hamajima Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -1671,6 +1671,8 @@
 product SONY CLIE_41_MS                0x0099  Sony Clie v4.1 Memory Stick slot
 product SONY CLIE_41           0x009a  Sony Clie v4.1
 product SONY CLIE_NX60         0x00da  Sony Clie nx60
+product SONY PS2EYETOY4                0x0154  PlayStation2 EyeToy v154
+product SONY PS2EYETOY5                0x0155  PlayStation2 EyeToy v155
 product SONY CLIE_TJ25         0x0169  Sony Clie tj25
 
 /* SOURCENEXT products */
diff -r 68c7d40d9f56 -r a47ae4eb5436 sys/dev/usb/usbdevs.h
--- a/sys/dev/usb/usbdevs.h     Sat Jan 22 15:36:09 2005 +0000
+++ b/sys/dev/usb/usbdevs.h     Sat Jan 22 16:38:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdevs.h,v 1.396 2004/12/29 08:40:30 imp Exp $        */
+/*     $NetBSD: usbdevs.h,v 1.397 2005/01/22 16:38:55 hamajima Exp $   */
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1678,6 +1678,8 @@
 #define        USB_PRODUCT_SONY_CLIE_41_MS     0x0099          /* Sony Clie v4.1 Memory Stick slot */
 #define        USB_PRODUCT_SONY_CLIE_41        0x009a          /* Sony Clie v4.1 */
 #define        USB_PRODUCT_SONY_CLIE_NX60      0x00da          /* Sony Clie nx60 */
+#define        USB_PRODUCT_SONY_PS2EYETOY4     0x0154          /* PlayStation2 EyeToy v154 */
+#define        USB_PRODUCT_SONY_PS2EYETOY5     0x0155          /* PlayStation2 EyeToy v155 */
 #define        USB_PRODUCT_SONY_CLIE_TJ25      0x0169          /* Sony Clie tj25 */
 
 /* SOURCENEXT products */
diff -r 68c7d40d9f56 -r a47ae4eb5436 sys/dev/usb/usbdevs_data.h
--- a/sys/dev/usb/usbdevs_data.h        Sat Jan 22 15:36:09 2005 +0000
+++ b/sys/dev/usb/usbdevs_data.h        Sat Jan 22 16:38:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdevs_data.h,v 1.397 2004/12/29 08:40:30 imp Exp $   */
+/*     $NetBSD: usbdevs_data.h,v 1.398 2005/01/22 16:38:55 hamajima Exp $      */
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -4864,6 +4864,18 @@
            "Sony Clie nx60",
        },
        {
+           USB_VENDOR_SONY, USB_PRODUCT_SONY_PS2EYETOY4,
+           0,
+           "Sony",
+           "PlayStation2 EyeToy v154",
+       },
+       {
+           USB_VENDOR_SONY, USB_PRODUCT_SONY_PS2EYETOY5,
+           0,
+           "Sony",
+           "PlayStation2 EyeToy v155",
+       },
+       {
            USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_TJ25,
            0,
            "Sony",



Home | Main Index | Thread Index | Old Index