From: Grant Edwards <grant.b.edwards@gmail.com>
To: linux-serial@vger.kernel.org
Subject: Re: is there a struct uart_driver like struct i2c_driver
Date: Mon, 18 Aug 2014 16:19:22 +0000 (UTC) [thread overview]
Message-ID: <lst92a$7lq$1@ger.gmane.org> (raw)
In-Reply-To: 53F1CD68.9080901@ts.fujitsu.com
On 2014-08-18, Cestonaro Thilo <thilo.cestonaro@ts.fujitsu.com> wrote:
> I need to write a driver which communicates with it's chip via uart.
> So I was wondering which the best way is to do this.
What I think you're talking about is usually called a "line
discipline":
http://www.linux-mag.com/id/1891/
http://en.wikipedia.org/wiki/Line_discipline
http://www.linux.it/~rubini/docs/serial/serial.html
[Some of those links are a bit out-of-date, but should provide a good
idea what a line discipline is.]
Line disciplines are kernel drivers that use a well-defined API to
talk to the tty/serial/uart drivers that exist at a lower layer.
--
Grant Edwards grant.b.edwards Yow! MERYL STREEP is my
at obstetrician!
gmail.com
prev parent reply other threads:[~2014-08-18 16:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 9:54 is there a struct uart_driver like struct i2c_driver Cestonaro Thilo
2014-08-18 10:53 ` Greg KH
2014-08-18 11:11 ` Cestonaro Thilo
2014-08-18 11:19 ` Cestonaro Thilo
2014-08-18 13:43 ` Cestonaro Thilo
2014-08-18 13:50 ` Greg KH
2014-08-18 14:56 ` Cestonaro Thilo
2014-08-18 15:07 ` Greg KH
2014-08-19 12:25 ` Cestonaro Thilo
2014-08-19 12:39 ` Greg KH
2014-08-19 12:45 ` Cestonaro Thilo
2014-08-25 14:57 ` Greg KH
2014-08-18 16:19 ` Grant Edwards [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lst92a$7lq$1@ger.gmane.org' \
--to=grant.b.edwards@gmail.com \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.