From 253423f1c7bcd0cacf77e05072122c988285f0fe Mon Sep 17 00:00:00 2001 From: mjl Date: Mon, 11 Feb 2002 21:13:35 +0000 Subject: [PATCH] Add OnSpec PC-Card reader --- sys/dev/usb/umass_quirks.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/sys/dev/usb/umass_quirks.c b/sys/dev/usb/umass_quirks.c index acd8166d9a0c..27f347e8e33a 100644 --- a/sys/dev/usb/umass_quirks.c +++ b/sys/dev/usb/umass_quirks.c @@ -1,4 +1,4 @@ -/* $NetBSD: umass_quirks.c,v 1.10 2002/02/07 13:53:14 augustss Exp $ */ +/* $NetBSD: umass_quirks.c,v 1.11 2002/02/11 21:13:35 mjl Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -114,6 +114,22 @@ Static const struct umass_quirk umass_quirks[] = { NULL, NULL }, + { { USB_VENDOR_ONSPEC, USB_PRODUCT_ONSPEC_MD2 }, + UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, + 0, + PQUIRK_NOMODESENSE, + UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO, + NULL, NULL + }, + + { { USB_VENDOR_ONSPEC, USB_PRODUCT_ONSPEC_MD1II }, + UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, + UMASS_QUIRK_NO_MAX_LUN | UMASS_QUIRK_NO_START_STOP, + PQUIRK_NOMODESENSE, + UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO, + NULL, NULL + }, + { { USB_VENDOR_SCANLOGIC, USB_PRODUCT_SCANLOGIC_SL11R }, UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UFI, 0, @@ -178,14 +194,6 @@ Static const struct umass_quirk umass_quirks[] = { NULL, umass_fixup_yedata }, - { { USB_VENDOR_ONSPEC, USB_PRODUCT_ONSPEC_MD2 }, - UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, - 0, - PQUIRK_NOMODESENSE, - UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO, - NULL, NULL - }, - { { USB_VENDOR_MINOLTA, USB_PRODUCT_MINOLTA_S304 }, UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, UMASS_QUIRK_NO_MAX_LUN | UMASS_QUIRK_NO_START_STOP,