2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>

PR 1772/bsps
	* console/sci.c: Use same default baud rate as monitor.
This commit is contained in:
Joel Sherrill
2011-03-22 14:14:24 +00:00
parent 963d052e09
commit 4ca0bfcb38
2 changed files with 11 additions and 6 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1772/bsps
* console/sci.c: Use same default baud rate as monitor.
2011-02-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
* timer/timer.c: Include <bsp.h> before <rtems/btimer.h>.
+6 -6
View File
@@ -556,8 +556,8 @@ int SciInterruptOpen(
/* SciSetBaud(115200); set the baud rate */
/* SciSetBaud( 57600); set the baud rate */
/* SciSetBaud( 38400); set the baud rate */
SciSetBaud( 19200); /* set the baud rate */
/* SciSetBaud( 9600); set the baud rate */
/* SciSetBaud( 19200); set the baud rate */
SciSetBaud( 9600); /* set the baud rate */
SciSetParity(SCI_PARITY_NONE); /* set parity to none */
@@ -681,8 +681,8 @@ int SciSetAttributes(
if (!baud_requested)
{
/* baud_requested = B9600; default to 9600 baud */
baud_requested = B19200; /* default to 19200 baud */
baud_requested = B9600; /* default to 9600 baud */
/* baud_requested = B19200; default to 19200 baud */
}
sci_rate = rtems_termios_baud_to_number( baud_requested );
@@ -783,8 +783,8 @@ int SciPolledOpen(
/* SciSetBaud(115200); set the baud rate */
/* SciSetBaud( 57600); set the baud rate */
/* SciSetBaud( 38400); set the baud rate */
SciSetBaud( 19200); /* set the baud rate */
/* SciSetBaud( 9600); set the baud rate */
/* SciSetBaud( 19200); * set the baud rate */
SciSetBaud( 9600); /* set the baud rate */
SciSetParity(SCI_PARITY_NONE); /* set no parity */