[PATCH] rtems_termios_puts: Copy and write more than one char at once

Kolja Waschk rtemsdev at ixo.de
Thu Aug 7 19:38:37 UTC 2014


Hi,

I'd like to send some work upstream that I've made for a Blackfin BF537 based 
device. The following patch was necessary for a DMA-based high speed UART
driver(*) for Blackfin - it allows to start transmission on serial interfaces with
more than just one char at a time.

Notes:

This already reworked patch obsoletes the one attached to
https://www.rtems.org/bugzilla/show_bug.cgi?id=2185

I'm unsure if the amount of bytes to sent, given as an argument to the final
call of (*tty->handler.write)(), is properly chosen. It was always fixed to one 
before. 

(*)The UART driver itself is not yet ready for upstream, because it lives still
in my BSP only and has some specific mechanisms which are not really suited
for general use (such as using an extra GPIO for end-of-transfer signalling).

Kolja


Kolja Waschk (1):
  rtems_termios_puts: Copy and write more than one char at once

 cpukit/libcsupport/src/termios.c | 74 +++++++++++++++++++++++++++-------------
 1 file changed, 51 insertions(+), 23 deletions(-)

-- 
1.9.1



More information about the devel mailing list