jr3-pci: Only ioremap register space for actual number of channels on the
authorIan Abbott <abbotti@mev.co.uk>
Thu, 26 Nov 2009 14:59:46 +0000 (14:59 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 26 Nov 2009 14:59:46 +0000 (14:59 +0000)
commitfa79c726de07aff1065415767fee720e4ee9eb44
tree33862a15b09e2a0c3a9f0e76c4db10676cc0db55
parent876a6e83ff22f70d8ded34907ebe0b90cc9f518b
jr3-pci: Only ioremap register space for actual number of channels on the
card.  Also, check result of ioremap() for failure.

Thanks to Anders Blomdell for input and Sami Hussein for testing.
comedi/drivers/jr3_pci.c