[PATCH 00/49] staging: comedi: cleanup pci device detection

Ian Abbott abbotti at mev.co.uk
Wed Mar 6 14:35:58 UTC 2013


On 2013-03-05 16:52, H Hartley Sweeten wrote:
> Make use of the 'context' in the comedi auto config by passing the
> pci_device_id 'driver_data' as the 'context'. Modify all the comedi_driver
> pci drivers so that the 'driver_data' is an enum to the boardinfo entries.
> This removes the need for the helper functions that matched the pci
> vendor/device ids in the boardinfo against the pci_device in order to
> locate the boardinfo. It also removes the need to carry the pci vendor/device
> ids in the boardinfo.

These all look okay to me.  The remarks in replies to patches 09 and 10 
can be dealt with later, as I have a pretty good idea how to fix them.

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-



More information about the devel mailing list