RFC: new USB quirk

Hans Petter Selasky hselasky at c2i.net
Sun Nov 4 10:50:40 UTC 2012


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?

--HPS


More information about the freebsd-usb mailing list