]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3814277e5190fe395fc844aae983a69cd0b269dc
tree411e39703ad40abe4102883e0e105b34c0ee3f47
parentea07bed8d0b44df82f6ff9199c660a9289c934f7
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