Lite5200 from RS232 to RS485

Sauro Salomoni saurosalomoni at pop.com.br
Wed Jun 23 00:53:07 EST 2004


Hi.

I'm having quite a problem getting into the serial...

Searching through local files, I could see that, although using 2 or 3 chained
functions to get/set the serial status, it is (in fact) done with a readb/writeb
statement (or inb/outb). Is that correct?

So, in order to make a very small driver, that just access the serial port and
doesn't use other features (we need a very "clean" one here..), wich headers should
I include? Is <asm/io.h> just enough?
I tried to use as few headers as possible, but then I get the problem that the
readb/writeb functions are not defined...
Could anyone give me a helping hand?

Thanks.

Sauro Salomoni

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list