Serial driver help

4 messages, 2 authors, 2001-01-16 · open the first message on its own page

Serial driver help

From: Navin Boppuri <hidden>
Date: 2001-01-15 16:46:45

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/

Re: Serial driver help

From: Daris Nevil <hidden>
Date: 2001-01-16 00:38:26

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

Navin Boppuri wrote:
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/

Re: Serial driver help

From: Navin Boppuri <hidden>
Date: 2001-01-16 10:21:30

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" <redacted>
To: "Navin Boppuri" <redacted>
Cc: <redacted>
Sent: Tuesday, January 16, 2001 12:38 AM
Subject: Re: Serial driver help

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

Navin Boppuri wrote:
quoted
Hello,

Can someone tell me where I can find some documentation on how to write
a
quoted
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
quoted
works just fine. I do see that uart.c is written for uarts connected on
SMC
quoted
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/

Re: Serial driver help

From: Daris Nevil <hidden>
Date: 2001-01-16 19:44:14

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


Navin Boppuri wrote:
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" <redacted>
To: "Navin Boppuri" <redacted>
Cc: <redacted>
Sent: Tuesday, January 16, 2001 12:38 AM
Subject: Re: Serial driver help
quoted
Navin,

Check out http://www.qslinux.org/docs/snmc/serial/index.html, as it may
have
quoted
the info that you need.

Regards,
Daris Nevil
SNMC

Navin Boppuri wrote:
quoted
Hello,

Can someone tell me where I can find some documentation on how to write
a
quoted
quoted
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
quoted
quoted
works just fine. I do see that uart.c is written for uarts connected on
SMC
quoted
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help