commit | a3003b41331c83b0be7c46126ed4f03cc22bee05 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Tue Nov 13 13:41:41 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 13 15:12:47 2012 -0800 |
tree | f86150cec12d76a9dee4f2656b62fd8dd9f80971 | |
parent | 56587a06ade1f95f1425cc5fb2230fb54e82428f [diff] |
staging: comedi: addi_apci_1516: simplify the PCI bar reading The boards supported by this driver have an eeprom attached to a S5920 PCI controller chip. Knowing this information allows simplifying the code that reads the PCI bars to get the iobase address. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>