m68knommu: fix coldfire tcdrain
authorPhilippe De Muyter <phdm@macqel.be>
Fri, 2 Apr 2010 15:56:08 +0000 (17:56 +0200)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 21 Apr 2010 03:43:06 +0000 (13:43 +1000)
Fix tcdrain on coldfire uarts.
Currently with coldfire uarts tcdrain returns without waiting for txempty,
because (tx)fifosize is 0.  Fix that and call uart_update_timeout when
setting the baud rate, otherwise tcdrain will wait for an half our :)
Also constify mcf_uart_ops.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>

No differences found