Date: Sat, 4 Dec 2004 22:25:18 GMT From: Shaun Jurrens <shaun@shamz.net> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/74690: Patch: support for SanDisk 8-in-1 in umass.c Message-ID: <200412042225.iB4MPIl9071820@www.freebsd.org> Resent-Message-ID: <200412042230.iB4MUOMT095344@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 74690
>Category: kern
>Synopsis: Patch: support for SanDisk 8-in-1 in umass.c
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 04 22:30:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Shaun Jurrens
>Release: 5.3-STABLE
>Organization:
>Environment:
FreeBSD dakota 5.3-STABLE FreeBSD 5.3-STABLE #24: Sat Dec 4 01:02:33 CET 2004 root@dakota:/usr/obj/usr/src/sys/DAKOTA64 amd64
>Description:
Reliable hang at boot directly before cam device discovery without this patch.
>How-To-Repeat:
Buy a ImageMate 8 in 1, SanDisk, attach to a usb port, boot machine.
>Fix:
simple four-liner to add support for yet another SanDisk device... borrowed from the mailing lists and revised a bit. Haven't explored all of the possible quirky macros, but this works... This webform will munge the patch, but you get the idea...
--- umass.c Sat Dec 4 23:08:16 2004
+++ umass.c.new Sat Dec 4 23:14:08 2004
@@ -417,6 +417,10 @@
UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
IGNORE_RESIDUE
},
+ { USB_VENDOR_SANDISK, USB_PRODUCT_SANDISK_SDDR88, RID_WILDCARD,
+ UMASS_PROTO_SCSI | UMASS_PROTO_BBB | NO_GETMAXLUN,
+ NO_TEST_UNIT_READY | IGNORE_RESIDUE
+ },
{ USB_VENDOR_SCANLOGIC, USB_PRODUCT_SCANLOGIC_SL11R, RID_WILDCARD,
UMASS_PROTO_ATAPI | UMASS_PROTO_BBB,
NO_INQUIRY
>Release-Note:
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412042225.iB4MPIl9071820>
