aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2014-03-13 15:30:39 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-26 17:15:34 -0700
commit7a63f58358152cb2757cae6184bb39a25e3069d7 (patch)
treee8fc91e7d766dcb2f82fe66dd98d3d79c51c5b9f /kernel
parentd7a834fb18764f2451847eaafa27f1b70ca6a381 (diff)
staging: comedi: 8255_pci: initialize MITE data window
commit 268d1e799663b795cba15c64f5d29407786a9dd4 upstream. According to National Instruments' PCI-DIO-96/PXI-6508/PCI-6503 User Manual, the physical address in PCI BAR1 needs to be OR'ed with 0x80 and written to register offset 0xC0 in the "MITE" registers (BAR0). Do so during initialization of the National Instruments boards handled by the "8255_pci" driver. The boards were previously handled by the "ni_pcidio" driver, where the initialization was done by `mite_setup()` in the "mite" module. The "mite" module comes with too much extra baggage for the "8255_pci" driver to deal with so use a local, simpler initialization function. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions