staging: comedi: amplc_dio200: allow generation of PCIe interrupts
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Oct 2012 15:48:06 +0000 (16:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:25:22 +0000 (15:25 -0700)
commitc5f68d79259ee61b58197b0f751411e0196560f2
tree17a1f8a332eb0bde7f23e264be7df01e627faccd
parent2421a0242e17445ab35f7b450d0768518f0f63e6
staging: comedi: amplc_dio200: allow generation of PCIe interrupts

The new PCIe boards PCIe215, PCIe236 and PCIe296 need a special register
setting to allow generation of interrupts on the PCIe bus.  Add
`dio200_pcie_board_setup()` to do this and call it from
`dio200_attach_pci()` for those boards.

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