kern/74690: Patch: support for SanDisk 8-in-1 in umass.c
Shaun Jurrens
shaun at shamz.net
Sat Dec 4 14:30:24 PST 2004
>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 at 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:
More information about the freebsd-bugs
mailing list