[PATCH 00/10] staging: comedi: improve auto-configuration

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Apr 10 18:23:58 UTC 2012


On Fri, Mar 30, 2012 at 05:14:55PM +0100, Ian Abbott wrote:
> Ian Abbott (10):
>   staging: comedi: pass 'struct comedi_driver *' to comedi_..._auto_config
>   staging: comedi: don't disable IRQ for comedi_file_info_table_lock
>   staging: comedi: don't hijack hardware device private data
>   staging: comedi: pass usb interface to comedi_usb_auto_config
>   staging: comedi: refactor comedi_device_attach() a bit
>   staging: comedi: add bus-type-specific attach hooks for PCI and USB
>   staging: comedi: pass struct comedi_driver * to comedi_auto_config()
>   staging: comedi: restrict comedi_auto_config() to single driver
>   staging: comedi: amplc_pci224: use attach_pci() hook
>   staging: comedi: usbdux: use attach_usb() hook
> 
> Improve auto-configuration of probed USB and PCI devices by adding
> bus-type-specific attach hooks to struct comedi_driver.  See patch 06/10
> for the rationale.
> 
> Only a couple of drivers (amplc_pci224 and usbdux) have been changed
> to use the new hooks so far, just to get the ball rolling.  I won't
> bother converting the other drivers until the changes have been merged
> and I can spare the time!

Very nice, thanks for doing this work, I've queued it all up now.

greg k-h



More information about the devel mailing list