Module Name: src
Committed By: kiyohara
Date: Tue May 14 14:03:53 UTC 2013
Modified Files:
src/sys/dev/usb: umass_quirks.c
Log Message:
Add quirk for IODATA2 USB2SC.
This works target 0 only. However supports 4 targets in spec.
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/dev/usb/umass_quirks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/umass_quirks.c
diff -u src/sys/dev/usb/umass_quirks.c:1.94 src/sys/dev/usb/umass_quirks.c:1.95
--- src/sys/dev/usb/umass_quirks.c:1.94 Fri Aug 24 12:20:02 2012
+++ src/sys/dev/usb/umass_quirks.c Tue May 14 14:03:53 2013
@@ -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 @@ Static const struct umass_quirk umass_qu
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 *