[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

outw



Hi,
I'am working on a PCL823 board driver kernel module using outw and inw
from <asm/io.h>. I should write subsequent 16bit ports within an IRQ
routine -- but I can't. The first outw writes the port well, next ones
do something else. Here the code:
void intr_handler(void)
{
    outw(v1,a1); // a
    outw(v2,a2); // b
}
If I comment out 'a' or 'b', it works.
I've tried to slow down the IO, without being too slow for an IRQ.
Nothing helped.
Any Idea?
Maybe it isn't an RTL specific issue...
Sly