From: Subodh Nijsure <subodh@best.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: DPRAM parameters for 860P
Date: Wed, 28 Mar 2001 22:53:59 -0800 (PST) [thread overview]
Message-ID: <200103290653.WAA01744@shell9.ba.best.com> (raw)
Hello,
Currently the 2.4.2 code assumes that DPRAM is always 4KB has anybody
put together m8xx_cpm_dpalloc() that takes advantage of larger DPRAM on 860P?
->From arch/ppc/kernel/8xx_io/commproc.c
/* The dual ported RAM is multi-functional. Some areas can be (and are
* being) used for microcode. There is an area that can only be used
* as data ram for buffer descriptors, which is all we use right now.
* Currently the first 512 and last 256 bytes are used for microcode.
*/
#define CPM_DATAONLY_BASE ((uint)0x0800)
/*#define CPM_DATAONLY_SIZE ((uint)0x0700)*/
/* Above definition assumes we have 4KB DPRAM but 860P has 8KB, so
* we experiment. My RCCR , RMDS says DATA size of 0x3400 is safe
*/
#define CPM_DATAONLY_SIZE ((uint)0x3400)
#define CPM_DP_NOSPACE ((uint)0x7fffffff)
I have been running my system with above configuration for couple of days
without any problems. Are there any side effects I should be aware of?
2. Anybody knows if there a driver currently that uses the 8xx IDMA
to transfer data from a peripheral to CPU and back?
/Subodh Nijsure
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2001-03-29 6:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-29 6:53 Subodh Nijsure [this message]
2001-03-29 19:09 ` DPRAM parameters for 860P 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=200103290653.WAA01744@shell9.ba.best.com \
--to=subodh@best.com \
--cc=linuxppc-embedded@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.