linux/drivers/staging/comedi
Ian Abbott fa5c5f4ce0 Staging: comedi: jr3_pci: Don't ioremap too much space. Check result.
For the JR3/PCI cards, the size of the PCIBAR0 region depends on the
number of channels.  Don't try and ioremap space for 4 channels if the
card has fewer channels.  Also check for ioremap failure.

Thanks to Anders Blomdell for input and Sami Hussein for testing.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-23 11:27:46 -08:00
..
drivers Staging: comedi: jr3_pci: Don't ioremap too much space. Check result. 2009-12-23 11:27:46 -08:00
kcomedilib
Kconfig
Makefile
TODO
comedi.h
comedi_compat32.c
comedi_compat32.h
comedi_fops.c
comedi_fops.h
comedi_ksyms.c
comedidev.h
comedilib.h
drivers.c
pci_ids.h
proc.c
range.c
wrapper.h