Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb eUSB ORCA Quad Reader (SHUTTLE) returns invalid ...



details:   https://anonhg.NetBSD.org/src/rev/46d4961aa742
branches:  trunk
changeset: 555005:46d4961aa742
user:      kivinen <kivinen%NetBSD.org@localhost>
date:      Fri Nov 07 01:04:27 2003 +0000

description:
eUSB ORCA Quad Reader (SHUTTLE) returns invalid CSWTAGs
        (always 0). Added quirk to fix it.

diffstat:

 sys/dev/usb/umass_quirks.c |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 1c1d3dd56e19 -r 46d4961aa742 sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c        Fri Nov 07 01:02:18 2003 +0000
+++ b/sys/dev/usb/umass_quirks.c        Fri Nov 07 01:04:27 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_quirks.c,v 1.63 2003/10/22 05:38:16 augustss Exp $       */
+/*     $NetBSD: umass_quirks.c,v 1.64 2003/11/07 01:04:27 kivinen Exp $        */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.63 2003/10/22 05:38:16 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.64 2003/11/07 01:04:27 kivinen Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -121,6 +121,14 @@
          NULL, NULL
        },
 
+       { { USB_VENDOR_SHUTTLE, USB_PRODUCT_SHUTTLE_ORCA },
+         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+         UMASS_QUIRK_WRONG_CSWTAG,
+         0,
+         UMATCH_VENDOR_PRODUCT,
+         NULL, NULL
+       },
+
        /*
         * Some Sony cameras advertise a subclass code of 0xff, so we force it
         * to the correct value iff necessary.



Home | Main Index | Thread Index | Old Index