[PATCH 4/6 v2] staging: comedi: addi_apci_1564: simplify the PCI bar reading and don't read the unused bars

2014-04-29 Thread Chase Southwood
This driver only uses PCI bar 1 (devpriv-i_IobaseAmcc), and PCI bar 2 (dev-iobase) doon't bother reading the unused PCI bars. Signed-off-by: Chase Southwood chase.southw...@gmail.com Cc: Ian Abbott abbo...@mev.co.uk Cc: H Hartley Sweeten hswee...@visionengravers.com --- 2: Bad PCI bar numbers

Re: [PATCH 4/6 v2] staging: comedi: addi_apci_1564: simplify the PCI bar reading and don't read the unused bars

2014-04-29 Thread Ian Abbott
On 2014-04-29 09:35, Chase Southwood wrote: This driver only uses PCI bar 1 (devpriv-i_IobaseAmcc), and PCI bar 2 (dev-iobase) doon't bother reading the unused PCI bars. The description needs fixing as it's back to using PCI bar 0 and 1. Also, there's a typo: doon't - don't. :) -- -=( Ian