]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_dio200: use custom register access functions
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Oct 2012 15:47:59 +0000 (16:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:25:12 +0000 (15:25 -0700)
commit44dab240ef953ab8908cd326e7b1a5ca06eefcd7
treed92737d5ab49017b259de001af3e03448ac9728b
parent7b598f2b8695fe7c9964a01002e5989574a69a9a
staging: comedi: amplc_dio200: use custom register access functions

Add custom functions to access hardware registers and call them instead
of calling `inb()` and `outb()` directly.  When additional cards are
supported by this driver requiring different register access methods,
the new functions will localize the register access differences to just
these functions.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c