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

TheCottonSilk picture TheCottonSilk · May 5, 2011 · Viewed 7k times · Source

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.

Answer

TheCottonSilk picture TheCottonSilk · May 26, 2011

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