Steven Woody <anti-spam.narkewoody@gmail.com.dont-post-to> wrote:
> i got a mutipl-port serial board and need to write a simple C program to
> set its base addresses in a Linux box. according to the user manual of
> the board, the job can be accomplish be write/read some bytes to some
> specify IO ports.
It sounds as if you are going to write a driver for that card? There are a
lot of "sample code" in /usr/src/linux. Check in
/usr/src/linux/driver/char for files like moxa.c and serial.c.
regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc7(at)uthyres.com Examples of addresses which go to spammers:
info@k-soft.se info@k-software.biz info@webrider.ru root@localhost