[PATCH] powerpc/shared/console: Make console baud rate configurable.

dufault at hda.com dufault at hda.com
Fri Apr 9 16:13:39 UTC 2021



> On Apr 9, 2021, at 11:55 , <dufault at hda.com> <dufault at hda.com> wrote:
> 
> My first "git format-patch" for RTEMS, sent using an Apple mailer yet.  I hope it's OK.

Critiquing my own patch.

I have a second simple patch I was going to submit separately.

After the start-up baud rate is made configurable, there is a second issue where if you switch to "termios" it sets the baud rate back to 9600 at the termios first_open() call.  The fix is to add:

"ttyp->termios.c_ispeed = ttyp->termios.c_ospped = rtems_termios_number_to_baud(uart_data[uart].baud);"

to the bottom of BSP_uart_termios_set().

Is this a different patch (since it is a separate issue) or a [2/2] patch to the "Make console baud rate configurable" patch (since the issue didn't show up as the start-up baud rate was fixed at 9600 anyway)?

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering

This email is delivered through the public internet using protocols subject to interception and tampering.



More information about the devel mailing list