Search code examples
linuxdriverttyuart

How tty driver interacts with UART driver during read/write opetations?


I am working on modification/development of a SDIO UART driver.
And would like to know:

How tty driver interacts with UART driver during read/write operations? I am interested in buffer management.

I searched over net, however did not find necessary information.
Can somebody throw some light on this?

Thank you in advance.


Solution

  • Following links helped me understand TTY layer operations. TTY driver's read/write operations are little tricky to understand though..

    1. tty Layer (2.4)
    2. The tty Layer
    3. The tty Layer, Part II