[PATCH] staging: comedi: usbduxfast: use attach_usb() hook

H Hartley Sweeten hartleys at visionengravers.com
Mon Jun 18 16:22:49 UTC 2012


On Monday, June 18, 2012 9:22 AM, Ian Abbott wrote:
> On 2012-06-18 17:10, H Hartley Sweeten wrote:
>> On Monday, June 18, 2012 7:14 AM, Ian Abbott wrote:
>>> Change the usbduxfast driver to use the new attach_usb() hook in struct
>>> comedi_driver to auto-configure probed USB devices after the firmware is
>>> loaded.
>>>
>>> Signed-off-by: Ian Abbott <abbotti at mev.co.uk>
>>> ---
>>>   drivers/staging/comedi/drivers/usbduxfast.c |  133 ++++++++++++++++-----------
>>>   1 files changed, 79 insertions(+), 54 deletions(-)
>>
>> Ian,
>>
>> If the attach_usb callback is provided does the attach callback even
>> need to be supplied?
>
> I'm sure we've been through this before!  The attach callback is 
> reachable by the COMEDI_DEVCONFIG ioctl.

Ok... Just asking... ;-)

Hartley



More information about the devel mailing list