mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* implementing a custom uart driver
@ 2009-12-11 22:13 raychan
  0 siblings, 0 replies; only message in thread
From: raychan @ 2009-12-11 22:13 UTC (permalink / raw)
  To: linux-kernel

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


      

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-11 22:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-11 22:13 implementing a custom uart driver raychan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®