summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2010-04-07 06:45:59 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2010-04-07 06:45:59 +0000
commit2931336963601e2f03faedfe195e15b69a3ea7dd (patch)
tree83acd3bd63254d93630e075c5f42c37036652b6d /c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c
parentfixed to support GW_LCFM (diff)
downloadrtems-2931336963601e2f03faedfe195e15b69a3ea7dd.tar.bz2
changes to support GW_LCFM
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c b/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c
index 4d3e66a602..5a6bc7b37e 100644
--- a/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c
+++ b/c/src/lib/libcpu/powerpc/mpc55xx/esci/esci.c
@@ -398,13 +398,13 @@ static int mpc55xx_esci_termios_set_attributes( int minor, const struct termios
return RTEMS_IO_ERROR;
}
- /* Set control registers */
- regs->CR1.R = cr1.R;
- regs->CR2.R = cr2.R;
-
/* Disable LIN */
regs->LCR.R = 0;
+ /* Set control registers */
+ regs->CR2.R = cr2.R;
+ regs->CR1.R = cr1.R;
+
return RTEMS_SUCCESSFUL;
}