[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] outw
It's probably not an RTL-issue since any device driver can write to I/O ports.
Also you can write a program that lives in user-space that writes to I/O
ports. (Rubini "Linux Device Drivers" p164ff)
Debugging this would be significantly easier in user-space if you can
manage it.
Norm
At 04:13 PM 4/12/2000 +0200, Sylvester Drozdik wrote:
>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
>
>-- [rtl] ---
>To unsubscribe:
>echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
>echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
>---
>For more information on Real-Time Linux see:
>http://www.rtlinux.org/rtlinux/
>
>
- References:
- outw
- From: Sylvester Drozdik <drozdik@sztaki.hu>