Serial driver help
Hello,
Can someone tell me where I can find some documentation on how to write a serial driver in linux using the serial.h and tty data structures? I am using MAX3100 uart connected to the SPI controller. The SPI driver is fine works just fine. I do see that uart.c is written for uarts connected on SMC and SCC. All I need to do is to port it for SPI.
Thank you,
Navin Boppuri
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Navin,
Check out http://www.qslinux.org/docs/snmc/serial/index.html, as it may have the info that you need.
Regards,
Daris Nevil
SNMC
Quoted 11 lines · Navin Boppuri
Hello,
Can someone tell me where I can find some documentation on how to write a serial driver in linux using the
serial.hand tty data structures? I am using MAX3100 uart connected to the SPI controller. The SPI driver is fine works just fine. I do see thatuart.cis written for uarts connected on SMC and SCC. All I need to do is to port it for SPI.Thank you,
Navin Boppuri
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hello Daris,
Thank you for the link. But all I see there is docs on how to talk to serial ports. I need some linux data structures info. How is serial.c organized? How can I port a new uart to serial.c ? etc. etc. Do you know of some place I can find this?
Thank you,
Navin Boppuri
----- Original Message -----
From: "Daris Nevil" <[email protected]>
To: "Navin Boppuri" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, January 16, 2001 12:38 AM
Subject: Re: Serial driver help
Quoted 3 lines
Navin,
Check out http://www.qslinux.org/docs/snmc/serial/index.html, as it may
have
Quoted 11 lines
the info that you need.
Regards,
Daris Nevil
SNMCQuoted 3 lines · Navin Boppuri
Hello,
Can someone tell me where I can find some documentation on how to write
a
Quoted 2 lines
Quoted 2 lines
serial driver in linux using the
serial.hand tty data structures? I am using MAX3100 uart connected to the SPI controller. The SPI driver is
fine
Quoted 1 line
Quoted 1 line
works just fine. I do see that
uart.cis written for uarts connected on
SMC
Quoted 6 lines
Quoted 5 lines
and SCC. All I need to do is to port it for SPI.
Thank you,
Navin Boppuri
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Navin,
Outside of the O'Reilly book "Linux Device Drivers" I don't know if a good tutorial on writing serial device drivers. If you come across one I'd be very interested :-).
Good luck,
Daris Nevil
SNMC
Quoted 31 lines · Navin Boppuri
Hello Daris,
Thank you for the link. But all I see there is docs on how to talk to serial ports. I need some linux data structures info. How is
serial.corganized? How can I port a new uart toserial.c? etc. etc. Do you know of some place I can find this?Thank you,
Navin Boppuri----- Original Message -----
From: "Daris Nevil" <[email protected]>
To: "Navin Boppuri" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, January 16, 2001 12:38 AM
Subject: Re: Serial driver helpQuoted 3 lines
Navin,
Check out http://www.qslinux.org/docs/snmc/serial/index.html, as it may
have
Quoted 10 lines
the info that you need.
Regards,
Daris Nevil
SNMCQuoted 2 lines · Navin Boppuri
Hello,
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Can someone tell me where I can find some documentation on how to write
a
Quoted 2 lines
Quoted 2 lines
serial driver in linux using the
serial.hand tty data structures? I am using MAX3100 uart connected to the SPI controller. The SPI driver isfine
Quoted 1 line
Quoted 1 line
works just fine. I do see that
uart.cis written for uarts connected onSMC
Quoted 6 lines
Quoted 5 lines
and SCC. All I need to do is to port it for SPI.
Thank you,
Navin Boppuri
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/