RFC: new USB quirk

Marcel Moolenaar marcel at xcllnt.net
Sun Nov 4 20:07:43 UTC 2012


On Nov 4, 2012, at 2:47 AM, Hans Petter Selasky <hselasky at c2i.net> wrote:

> On Saturday 03 November 2012 22:42:33 Marcel Moolenaar wrote:
>> Hans,
>> 
>> Juniper has a few products that use STmicro USB-NAND controllers
>> (the ST72682 in particular) and they really don't like the SCSI
>> command for prevent/allow medium removal. The attached patch
>> adds a quirk for this to avoid spamming the console with errors
>> or warnings.
>> 
>> Does it look good to you?
>> Ok to commit?
>> 
>> Thanks,
> 
> Hi,
> 
> You also need to update this table in usb_quirk.c:
> 
> static const char *usb_quirk_str[USB_QUIRK_MAX] = {
>        [UQ_NONE]               = "UQ_NONE",
> 
> Can you do that and send a new patch for review?

See attached.
FYI,

-- 
Marcel Moolenaar
marcel at xcllnt.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: usb.diff
Type: application/octet-stream
Size: 3415 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20121104/e2725406/attachment.obj>


More information about the freebsd-usb mailing list