Subject: kern/22720: Sandisk SDDR-86 quirk
To: None <gnats-bugs@gnats.netbsd.org>
From: Seebs <seebs@guild.plethora.net>
List: netbsd-bugs
Date: 09/07/2003 20:54:36
>Number:         22720
>Category:       kern
>Synopsis:       Sandisk SDDR-86 needs quirk table entry
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 08 01:54:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     seebs
>Release:        NetBSD 1.6X
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 1.6X NetBSD 1.6X (VASH) #3: Fri Sep 5 23:46:44 CDT 2003 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	The SDDR-86 has four slots, each on a separate LUN, but we don't probe
	multiple LUNs because it doesn't identify as a known SCSI version;
	it needs PQUIRK_FORCELUN.

>How-To-Repeat:
	Buy an SDDR-86 card reader.

>Fix:
Index: umass_quirks.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/umass_quirks.c,v
retrieving revision 1.47
diff -c -r1.47 umass_quirks.c
*** umass_quirks.c	2003/09/05 11:24:56	1.47
--- umass_quirks.c	2003/09/08 01:51:08
***************
*** 206,211 ****
--- 206,219 ----
  	  NULL, NULL
  	},
  
+ 	{ { USB_VENDOR_SANDISK, USB_PRODUCT_SANDISK_SDDR86 },
+ 	  UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+ 	  0,
+ 	  PQUIRK_FORCELUNS,
+ 	  UMATCH_VENDOR_PRODUCT,
+ 	  NULL, NULL
+ 	},
+ 
  	{ { USB_VENDOR_SCANLOGIC, USB_PRODUCT_SCANLOGIC_SL11R },
  	  UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UFI,
  	  UMASS_QUIRK_WRONG_CSWTAG,
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.337
diff -c -r1.337 usbdevs
*** usbdevs	2003/08/16 06:36:29	1.337
--- usbdevs	2003/09/08 01:51:10
***************
*** 1263,1268 ****
--- 1263,1269 ----
  product SANDISK SDDR12		0x0100	ImageMate SDDR-12
  product SANDISK SDDR09		0x0200	ImageMate SDDR-09
  product SANDISK SDDR75		0x0810	ImageMate SDDR-75
+ product SANDISK SDDR86		0x0621  ImageMate SDDR-86
  
  /* Sanwa Supply products */
  product SANWASUPPLY JYDV9USB	0x9806	JY-DV9USB gamepad
>Release-Note:
>Audit-Trail:
>Unformatted: