]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: comedi: addi-data: simplify the PCI bar reading
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 18 Jun 2013 19:14:17 +0000 (12:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jun 2013 16:45:56 +0000 (09:45 -0700)
commit9d9cfa188b00d9bbb5dd8f8d96b13b2d10bd6237
tree7610e18d75917ba99eaa277f8b10439bfe8a1373
parent7e5c304c5bec82b9187e73ae8fa398ee9b25dbfd
staging: comedi: addi-data: simplify the PCI bar reading

All of the remaining addi-data drivers that use the "common" code
either do not have an eeprom or the PCI controller chip is not a
PLX PCI 9054. Knowing this we can simplify the common code that
reads the PCI bars to get the iobase addresses.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/addi_common.c
drivers/staging/comedi/drivers/addi-data/addi_common.h