commit | 3732b68f22857201fa09cb82b128f295096a2375 | [log] [tgz] |
---|---|---|
author | Philippe De Muyter <phdm@macqel.be> | Fri Apr 02 17:56:08 2010 +0200 |
committer | Greg Ungerer <gerg@uclinux.org> | Wed Apr 21 13:43:06 2010 +1000 |
tree | 14584810aee0a110704fa0c6f5b858b67d32afab | |
parent | 6ecaf44e62274cd3496341ee0189bbbc0ae00976 [diff] |
m68knommu: fix coldfire tcdrain 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>