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 quirk for IODATA2 USB2SC.



details:   https://anonhg.NetBSD.org/src/rev/818efbf7ef44
branches:  trunk
changeset: 786832:818efbf7ef44
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Tue May 14 14:03:53 2013 +0000

description:
Add quirk for IODATA2 USB2SC.
This works target 0 only.  However supports 4 targets in spec.

diffstat:

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

diffs (33 lines):

diff -r 6ae6ff5d8dd6 -r 818efbf7ef44 sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c        Tue May 14 13:53:47 2013 +0000
+++ b/sys/dev/usb/umass_quirks.c        Tue May 14 14:03:53 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_quirks.c,v 1.94 2012/08/24 12:20:02 drochner Exp $       */
+/*     $NetBSD: umass_quirks.c,v 1.95 2013/05/14 14:03:53 kiyohara Exp $       */
 
 /*
  * Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.94 2012/08/24 12:20:02 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.95 2013/05/14 14:03:53 kiyohara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_umass.h"
@@ -336,6 +336,14 @@
          UMATCH_VENDOR_PRODUCT,
          NULL, NULL
        },
+
+       { { USB_VENDOR_IODATA2, USB_PRODUCT_IODATA2_USB2SC },
+         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+         0,
+         0,
+         UMATCH_VENDOR_PRODUCT,
+         NULL, NULL
+       },
 };
 
 const struct umass_quirk *



Home | Main Index | Thread Index | Old Index