From: Marco Schramel <Schramel.Linux@go.bartec.de>
To: Dan Malek <dan@embeddededge.com>
Cc: PPC_LINUX <linuxppc-embedded@ozlabs.org>
Subject: Re: CPM uart
Date: Fri, 15 Apr 2005 10:38:25 +0200 [thread overview]
Message-ID: <200504151038.25073.Schramel.Linux@go.bartec.de> (raw)
In-Reply-To: <ca0dbea676037b37464b3318b4271a30@embeddededge.com>
Hi all,
thanks for helping me.
Now it works with my configuration.
I added SCC_NUM_BASE as it is without console. And now it works.
#ifdef SCC_CONSOLE
switch (state->smc_scc_num - SCC_NUM_BASE) { /*SCC_NUM_BASE added*/
case 0:
page = CPM_CR_SCC1_PAGE;
sblock = CPM_CR_SCC1_SBLOCK;
break;
case 1:
page = CPM_CR_SCC2_PAGE;
sblock = CPM_CR_SCC2_SBLOCK;
break;
case 2:
page = CPM_CR_SCC3_PAGE;
sblock = CPM_CR_SCC3_SBLOCK;
break;
}
#else
.
.
.
Seems the use of SMC in conjunction with console on SCC was not planed in this version.
Furthermore i will test it and post if it fails.
Best regards
Marco
---------
Marco Schramel
next prev parent reply other threads:[~2005-04-15 8:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-14 7:26 CPM uart Marco Schramel
2005-04-14 12:01 ` Dan Malek
2005-04-14 12:54 ` Marco Schramel
2005-04-14 15:51 ` Dan Malek
2005-04-14 23:24 ` Ricardo Scop
2005-04-15 2:50 ` Dan Malek
2005-04-15 8:38 ` Marco Schramel [this message]
[not found] <1628E43D99629C46988BE46087A3FBB9205B50@ep-01.EmbeddedPlanet.local>
2005-04-14 13:34 ` Marco Schramel
2005-04-14 13:55 ` Dan Malek
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=200504151038.25073.Schramel.Linux@go.bartec.de \
--to=schramel.linux@go.bartec.de \
--cc=dan@embeddededge.com \
--cc=linuxppc-embedded@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;
as well as URLs for NNTP newsgroup(s).