Re: is there a struct uart_driver like struct i2c_driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014-08-18, Cestonaro Thilo <thilo.cestonaro@xxxxxxxxxxxxxx> 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            

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux