Use:

#include <linux/ioctl.h>

It includes the functions in 'include/asm-i386/io.h'.  Use the functions
'outb,outw,inb,inw'.

- Kal.

Alice Chung wrote:

> Hi there,
>
> Do u all know the command to get input from a given address?
> I have a motor control board and I want to get input from or send output
> to the board. Would you pls tell me how can I do so and tell me what
> file I should include in C?
> It's very urgent to my project. Hope you can reply me asap! Thx a lot!
>
> My RTL is Linux 2.2.13-rtl2.0.
>
> Alice
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to