Re: Greetings. Having a FIFO overrun when my amplc_pci230 card is set on the other side of a PCI bridge

On 24/01/06 19:21, Michael R. Head wrote:
> OK, just tried out your patch. It seems to work! I can run the demo/inpn
> program in the comedilib package and it returns zeros and NaNs (which
> appears to be right, I think, nothing is attached to the board yet).
> 
> I still have an issue with the driver, but it doesn't get in the way of
> my project, and this could be related to reason why the driver was
> causing trouble when it was across the bridge.
> 
> I've discovered that the card was (and is) _not_ working properly when
> it is on the main PCI bus. When I run the inp or inpn tests, I get
> 'timeout' printed on the console and in dmesg. I don't get this when the
> card is on the other side of the PCI bridge. It appears the problem was
> more subtle than I first though.

It seems the test that checks the ADC busy flag is inverted.  The 
attached patch should fix it.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2006-01-25Z13:18:30