> I wish it had been that easy. I increased TIMEOUT_CONST by a factor
> of 10 and it didn't help. I keep getting 0xff on reads from the
> keyboard port. Something is messed up with my interrupts, I think, or
> maybe there are bugs in the keyboard code that I'm tripping over, but
> I think the former is more likely. I tried enabling more interrupts
> in the IM field of the status register, and that didn't help either.
> Since it was none of the easy and trivial fixes, it must mean I'll
> have to get some time when I have a brain and hack rpc44.S....
Your board is based on a PC chipset which means than keyboard controller
access via ports is dead slow. On the Jazz chipset all this stuff is
implemented in a different way and therefore MUCH faster. That's why we
needed to increase TIMEOUT_CONST.