lkml.org 
[lkml]   [2009]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectimplementing a custom uart driver
Hi all,

I have been writing a custom uart driver for a SoC. It's not the 8520/16550 flavor so I ended up implementing a struct uart_driver on my own. However I am having some issues on the TX side.

If I put a printk statement after I enabled TX interrupts then it starts outputting characters. Otherwise the console will just get stuck. It is a memory mapped IO device, it does not support any modem control signals so I simply return TIOM_CTS | TIOCM_DSR | TIOCM_CD in the driver's get_mctrl function. Are there any other caveats that I should be aware of?

Thanks much
Ray





\
 
 \ /
  Last update: 2009-12-11 23:23    [W:0.049 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site