On Tue, 7 Jun 2005, Alex Butcher wrote:

> How about a module parameter for usb-storage?
> 
>       ignorequirks=<0|1>
>               0=use unusual_devs.h (default)
>               1=ignore unusual_devs.h
> 
> or possibly, more flexibly:
>       ignorequirks=<vendor id>,<device id>,<0|1>

This wouldn't solve the problem of a user with two otherwise identical 
devices, of which one requires the FIX_CAPACITY override and the other 
doesn't.

And as long as we're being hypothetical, suppose the PL-3507 had a second 
quirk which the firmware upgrade didn't fix.  Then you'd have to tell 
usb-storage exactly which quirk to ignore.

There are other, more general sorts of objections.  For example, it's a 
mistake to try putting device-specific information in a module parameter 
(which, by its very nature, should apply to all devices managed by that 
driver).

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to