linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Serial driver help
@ 2001-01-15 16:46 Navin Boppuri
  2001-01-16  0:38 ` Daris Nevil
  0 siblings, 1 reply; 4+ messages in thread
From: Navin Boppuri @ 2001-01-15 16:46 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Serial driver help
  2001-01-15 16:46 Serial driver help Navin Boppuri
@ 2001-01-16  0:38 ` Daris Nevil
  2001-01-16 10:21   ` Navin Boppuri
  0 siblings, 1 reply; 4+ messages in thread
From: Daris Nevil @ 2001-01-16  0:38 UTC (permalink / raw)
  To: Navin Boppuri; +Cc: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Serial driver help
  2001-01-16  0:38 ` Daris Nevil
@ 2001-01-16 10:21   ` Navin Boppuri
  2001-01-16 19:44     ` Daris Nevil
  0 siblings, 1 reply; 4+ messages in thread
From: Navin Boppuri @ 2001-01-16 10:21 UTC (permalink / raw)
  To: Daris Nevil; +Cc: linuxppc-embedded


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" <dnevil@snmc.com>
To: "Navin Boppuri" <nboppuri@trinetcommunication.com>
Cc: <linuxppc-embedded@lists.linuxppc.org>
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:
>
> > 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Serial driver help
  2001-01-16 10:21   ` Navin Boppuri
@ 2001-01-16 19:44     ` Daris Nevil
  0 siblings, 0 replies; 4+ messages in thread
From: Daris Nevil @ 2001-01-16 19:44 UTC (permalink / raw)
  To: Navin Boppuri; +Cc: linuxppc-embedded


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" <dnevil@snmc.com>
> To: "Navin Boppuri" <nboppuri@trinetcommunication.com>
> Cc: <linuxppc-embedded@lists.linuxppc.org>
> 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:
> >
> > > 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-16 19:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-15 16:46 Serial driver help Navin Boppuri
2001-01-16  0:38 ` Daris Nevil
2001-01-16 10:21   ` Navin Boppuri
2001-01-16 19:44     ` Daris Nevil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).