Re: [PATCH 00/15] staging: comedi: 8255: tidy up the (*io) operations

2014-08-10 Thread Greg KH
On Mon, Aug 04, 2014 at 02:18:43PM +0100, Ian Abbott wrote: On 2014-08-01 22:18, H Hartley Sweeten wrote: Now that the comedi_device has a 'mmio' and a 'iobase' member, this module can detect if the (*io) operations need to use readb/writeb for memory mapped I/O or inb/outb for port I/O. This

Re: [PATCH 00/15] staging: comedi: 8255: tidy up the (*io) operations

2014-08-04 Thread Ian Abbott
On 2014-08-01 22:18, H Hartley Sweeten wrote: Now that the comedi_device has a 'mmio' and a 'iobase' member, this module can detect if the (*io) operations need to use readb/writeb for memory mapped I/O or inb/outb for port I/O. This can be use to cleanup a lot of the code duplication in the

[PATCH 00/15] staging: comedi: 8255: tidy up the (*io) operations

2014-08-01 Thread H Hartley Sweeten
Now that the comedi_device has a 'mmio' and a 'iobase' member, this module can detect if the (*io) operations need to use readb/writeb for memory mapped I/O or inb/outb for port I/O. This can be use to cleanup a lot of the code duplication in the drivers that use the 8255 module. 1) Modify a