Re: [PATCH usb-next 2/3] USB: option: replace vendor probe rule with match flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oliver Neukum <oliver@xxxxxxxxxx> writes:
> On Thursday 25 October 2012 23:42:30 Bjørn Mork wrote:
>> Oliver Neukum <oliver@xxxxxxxxxx> writes:
>> 
>> > No need for a private macro. It already exists.
>> >
>> > /**
>> >  * USB_DEVICE_AND_INTERFACE_INFO - describe a specific usb device with a class of usb interfaces
>> 
>> Yes, but that one will match on SubClass and Protocol too, and I don't
>> know what values those are supposed to have.  The idea was to implement
>> the same match as before, i.e a wildcard for SubClass and Protocol.
>
> If we are really missing a macro, the place for it to go is usb.h, not a private
> version.

OK, I'll fix that if you really want it.

I did consider it before posting the first version, but concluded that
this is a somewhat odd case which few drivers, if any, will want to
reuse.  It is useful here only because we have the old workaround with
no information about the associated SubClass and Protocol.


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux