Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Third version of the DiskOnKey chip needs the sa...



details:   https://anonhg.NetBSD.org/src/rev/208a1a7fcafd
branches:  trunk
changeset: 584512:208a1a7fcafd
user:      cube <cube%NetBSD.org@localhost>
date:      Wed Sep 21 21:19:27 2005 +0000

description:
Third version of the DiskOnKey chip needs the same trick as the two others.
Combined with Nathan's previous commit, this allows the DiskOnKey 3 to
work on NetBSD!  Thanks to Marc Baudoin for lending the device.

diffstat:

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

diffs (32 lines):

diff -r 51ae3c301fa2 -r 208a1a7fcafd sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c        Wed Sep 21 20:17:22 2005 +0000
+++ b/sys/dev/usb/umass_quirks.c        Wed Sep 21 21:19:27 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_quirks.c,v 1.68 2005/03/02 11:37:27 mycroft Exp $        */
+/*     $NetBSD: umass_quirks.c,v 1.69 2005/09/21 21:19:27 cube Exp $   */
 
 /*
  * Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.68 2005/03/02 11:37:27 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.69 2005/09/21 21:19:27 cube Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -187,6 +187,13 @@
          UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO,
          NULL, NULL
        },
+       { { USB_VENDOR_MSYSTEMS, USB_PRODUCT_MSYSTEMS_DISKONKEY3 },
+         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+         0,
+         PQUIRK_NOBIGMODESENSE,
+         UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO,
+         NULL, NULL
+       },
 };
 
 const struct umass_quirk *



Home | Main Index | Thread Index | Old Index