From: Roger Larsson <roger.larsson@norran.net>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Error enabling CONFIG_PPC4XX_DMA in lk2.4.27-pre3?
Date: Wed, 13 Apr 2005 22:50:11 +0200 [thread overview]
Message-ID: <200504132250.11884.roger.larsson@norran.net> (raw)
In-Reply-To: <0007F077BB3476449151699150E8FEA21A7B92@exchange.tsi-telsys.com>
On Friday 08 April 2005 22.19, Sanjay Bajaj wrote:
> Hi! Gurus,
>
> I tried to enable DMA in lk2.4.27-pre3 and it fails with the error attached
> to the end of the mail. On further debugging, I found that though
> CONFIG_PPC4XX_DMA is included in the .config but the asm/ppc4xx_dma.h
> includes CONFIG_PPC4XX_EDMA, which includes all the constants reported
> undeclared in the error message. Out of curiosity, changed .._EDMA to
> .._DMA in asm/ppc4xx_dma.h and still had errors. Any help is appreciated.
>
Hmm...
What processor are you using?
If I remember correctly 405GPr did not enable CONFIG_PPC4XX_EDMA
but 405GP did... yepp, this check in 'arch/ppc/config.in' checks for 405GP
but not 405GPr
bool 'PPC4xx DMA controller support' CONFIG_PPC4xx_DMA
if [ "$CONFIG_PPC4xx_DMA" = "y" ]; then
if [ "$CONFIG_405GP" = "y" -o "$CONFIG_NP405L" = "y" \
-o "$CONFIG_NP405H" = "y" -o "$CONFIG_NP405GS" = "y" \
-o "$CONFIG_440" = "y" -o "$CONFIG_405LP" = "y" \
-o "$CONFIG_405EP" = "y" ]; then
define_bool CONFIG_PPC4xx_EDMA y
fi
if [ "$CONFIG_STB03xxx" = "y" ]; then
define_bool CONFIG_STBXXX_DMA y
fi
fi
prev parent reply other threads:[~2005-04-13 21:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-08 20:19 Error enabling CONFIG_PPC4XX_DMA in lk2.4.27-pre3? Sanjay Bajaj
2005-04-13 20:50 ` Roger Larsson [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=200504132250.11884.roger.larsson@norran.net \
--to=roger.larsson@norran.net \
--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