- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Mon, 1 Sep 2003 15:00:25 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 01 September 2003 09:37 am, Christopher B. Lirakis wrote: > I am guessing that the counters never get set correctly on my hardware. > I am not sure if that is an oddity with the CPU/backplane or the > PCI-1200 card. Everything else appears to work fine. When I do loads and > reads from the 8253 registers I get intermittent results. Oddly enough > inb doesn't seem to read the counter data, however, readb does. writeb > will not update the data, but outb does, sometimes. Ah, yes that's the problem. The pci-1200 needs to use readb/writeb. Most of the time it does, except when loading the counters when it calls the inb/outb versions of the functions in 8253.h. Do you want to continue working on it, or shall I fix it? > By the way, in 8253.h, the inline function i8254_read, don't you want > to or the byte data with 0x30 so that you get a 2 byte read back to > back? Huh? - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/U6Vc5vihyNWuA4URAjf9AJ4zq1n0bTDZilTBxsMwixPsTsL5ngCgrO9i eIcWQNZxRjL35aXZlAEyWNk= =gPrp -----END PGP SIGNATURE-----
Received on 2003-09-01Z19:00:25