summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorEric Norum <WENorum@lbl.gov>2007-02-02 22:30:44 +0000
committerEric Norum <WENorum@lbl.gov>2007-02-02 22:30:44 +0000
commit037d938a8408c4d020c244cd5114a24ea85eab39 (patch)
treede05133dbb02c17cb1d73fe72eeb838afe709016 /c
parent2007-01-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-037d938a8408c4d020c244cd5114a24ea85eab39.tar.bz2
Always assert RTS* (if flow control is on it will override).
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/console/console.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/console/console.c b/c/src/lib/libbsp/m68k/uC5282/console/console.c
index 20c4da1a17..03a22c6cb7 100644
--- a/c/src/lib/libbsp/m68k/uC5282/console/console.c
+++ b/c/src/lib/libbsp/m68k/uC5282/console/console.c
@@ -190,12 +190,8 @@ IntUartSet(int minor, int baud, int databits, int parity, int stopbits, int hwfl
MCF5282_UART_UIMR(minor) = info->uimr;
}
- /* check to see if doing hardware flow control */
- if ( hwflow )
- {
- /* assert the RTS line */
- MCF5282_UART_UOP1(minor) = 1;
- }
+ /* assert the RTS line */
+ MCF5282_UART_UOP1(minor) = 1;
rtems_interrupt_enable(level);
@@ -503,12 +499,8 @@ IntUartInterruptOpen(int major, int minor, void *arg)
MCF5282_UART_UIMR(minor) = info->uimr;
}
- /* check to see if doing hardware flow control */
- if ( info->hwflow )
- {
- /* assert the RTS line */
- MCF5282_UART_UOP1(minor) = 1;
- }
+ /* assert the RTS line */
+ MCF5282_UART_UOP1(minor) = 1;
return( 0 );
}