On 2014-08-01 22:18, H Hartley Sweeten wrote:
This driver currently duplicates the functionality of the 8255 module.
The only difference is in how the i/o access is handled.

Provide a private (*io) callback for the 8255 module to handle the
differences. We can then use that module and initialize the subdevice
with subdev_8255_init().

Update the Kconfig to select the COMEDI_8255 module.

Signed-off-by: H Hartley Sweeten <hswee...@visionengravers.com>
Cc: Ian Abbott <abbo...@mev.co.uk>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>

I have plans to support some of the enhancements in the PCIe cards, which would mean I can't use the 8255 module. That's one of the reasons I implemented the 8255 functionality directly in the driver (there's not very much anyway). The other was it would have been a bit of a pain as the comedi 'dev' parameter wasn't passed through.

So I'd prefer to drop this patch so I don't have to undo it later.

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbo...@mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to