Re: Typo in driver for Advantech PCI DIO cards

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 11 March 2004 08:08 am, Henk van Rooy wrote:
>
> Looking in the Advantech User's Manual for this particula card I found
> that this
> register has address BASE+19 in the Advantech register format table.
> Each define of the PCO-1753's addresses in adv_pci_dio.c is one count
> higher then found in the Avantech Manual, except for the
>
> #define PCI1753_DIO    0    /* Begin of 8255 registers block */
>
> which is correct. (BASE+0)
>
> I may be looking at it the wrong way, but it seems that all defines
> are one count higher than they should be.....
>
> Can someone explain why all these #defines are one count higher?
> (Base+x+1, instead of just base+x)

Probably a mistake in the driver.  They're all interrupt control/status 
registers but the driver doesn't support interrupts so it might not make 
any noticeable difference.

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFAVSE35vihyNWuA4URAgXUAKC7RajcKhqd/o0DCG9PDU08pUNs2wCgo7VM
+P09rPdcGIvv6zwL4SjsuWc=
=TQKL
-----END PGP SIGNATURE-----

Received on 2004-03-15Z03:21:22