From: "Heiko Schocher" <hs@denx.de>
To: <linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH] ppc32: fix: swallowed chars when booting.
Date: Wed, 2 Nov 2005 14:01:08 +0100 [thread overview]
Message-ID: <AHEILKONAKAEJPHNMOPNEEFNCDAA.hs@denx.de> (raw)
Hello,
during I am searching the right solution for my
other patch, i found another way for solving the
swallowed chars problem when booting on SMC2.
Please comment.
thanks
Heiko Schocher
[PATCH] ppc32: Fix: swallowed chars on SMC2 Console.
Signed-off-by: Heiko Schocher <hs@denx.de>
---
drivers/serial/cpm_uart/cpm_uart_core.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c
b/drivers/serial/cpm_uart/cpm_uart_core.c
index 25825f2..baedd74 100644
--- a/drivers/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/serial/cpm_uart/cpm_uart_core.c
@@ -552,9 +552,9 @@ static void cpm_uart_set_termios(struct
* enables, because we want to put them back if they were
* present.
*/
- prev_mode = smcp->smc_smcmr;
- smcp->smc_smcmr = smcr_mk_clen(bits) | cval | SMCMR_SM_UART;
- smcp->smc_smcmr |= (prev_mode & (SMCMR_REN | SMCMR_TEN));
+ prev_mode = smcp->smc_smcmr & (SMCMR_REN | SMCMR_TEN);
+ smcp->smc_smcmr = smcr_mk_clen(bits) | cval | SMCMR_SM_UART
+ | prev_mode;
} else {
sccp->scc_psmr = (sbits << 12) | scval;
}
next reply other threads:[~2005-11-02 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-02 13:01 Heiko Schocher [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-11-01 7:22 [PATCH] ppc32: fix: swallowed chars when booting Heiko Schocher
2005-10-31 11:29 Heiko Schocher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AHEILKONAKAEJPHNMOPNEEFNCDAA.hs@denx.de \
--to=hs@denx.de \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox