staging: comedi: amplc_dio200: add PCI BAR information to board
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Oct 2012 15:48:02 +0000 (16:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:25:21 +0000 (15:25 -0700)
commitef0653ac20e739aba476ee63ca2a618a3a26857d
tree411e39703ad40abe4102883e0e105b34c0ee3f47
parent71b3e9e8dc218133417d3c167632a61f9fed3651
staging: comedi: amplc_dio200: add PCI BAR information to board

Add `mainbar` member to `struct dio200_board` to hold the PCI BAR number
for the main registers.  This is `2` for the PCI boards currently
supported (PCI215 and PCI272) but will be different for some new boards
to be supported later.

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