From: Scott Wood <scottwood@freescale.com>
To: "Bizhan Gholikhamseh (bgholikh)" <bgholikh@cisco.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: What happened to cpm2_hostalloc
Date: Mon, 25 Feb 2008 13:02:35 -0600 [thread overview]
Message-ID: <20080225190235.GB9687@ld0162-tx32.am.freescale.net> (raw)
In-Reply-To: <F795765B112E7344AF36AA911279641502D1AAEC@xmb-sjc-212.amer.cisco.com>
On Mon, Feb 25, 2008 at 10:47:04AM -0800, Bizhan Gholikhamseh (bgholikh) wrote:
> In Linux 2.6.11 version, there was a function named "cpm2_hostalloc" to
> allocate memory at
> specific boundary. I am not able to locate that in the latest Linux
> version, 2.6.24-rc4. Is there any
> similiar function to this that I can use?
> The SPI module on the CPM2 module required the memory descriptor on the
> ram to be at specific
> boundray (8 bytes).
It's probably best to use DPRAM for the descriptors if possible. However,
if you want/need to use RAM, just allocate 8 bytes more than you need and
manually align it.
-Scott
prev parent reply other threads:[~2008-02-25 19:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 18:47 What happened to cpm2_hostalloc Bizhan Gholikhamseh (bgholikh)
2008-02-25 19:02 ` Scott Wood [this message]
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=20080225190235.GB9687@ld0162-tx32.am.freescale.net \
--to=scottwood@freescale.com \
--cc=bgholikh@cisco.com \
--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