<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, I recently asked a question about a PNP error that I was having
with the Atheros AR6001 patches, to which I got an excellent and
through reply from Andy Green which was much appreciated. However,
having corrected that mistake, I now am having DMA problems,
unfortunately it does not seem like a similar dependency to the PNP
error I had before. The error is below, followed by the previous
message.<br>
<br>
<br>
<br>
<br>
<br>
drivers/built-in.o(.text+0x118dc): In function `pnp_check_dma':<br>
drivers/pnp/resource.c:437: undefined reference to `request_dma'<br>
drivers/built-in.o(.text+0x118fc):drivers/pnp/resource.c:439: undefined
reference to `free_dma'<br>
make: *** [.tmp_vmlinux1] Error 1<br>
<br>
<br>
Thank you for any advice you can give me,<br>
-Wil<br>
<br>
<br>
<pre wrap="">Somebody in the thread at some point said:</pre>
<blockquote type="cite">
  <pre wrap=""><span class="moz-txt-citetags"> </span>Hi, I'm a student at Boston University, trying to implement an Atheros
<span class="moz-txt-citetags">&gt; </span>AR6001 Wifi chip on an I(ntel)Mote2. Our os for the Imote2 is 2.6.24
<span class="moz-txt-citetags">&gt; </span>kernel. Basically, I'm trying to create my own updated kernel for the
<span class="moz-txt-citetags">&gt; </span>Imote2. I am using a patch from
<span class="moz-txt-citetags">&gt; </span>(www-sigproc.eng.cam.ac.uk/%7Ejic23/IMOTE2/) which I think is a
<span class="moz-txt-citetags">&gt; </span>defconfig to auto set the kernel up for the Imote2. I'm then using the
<span class="moz-txt-citetags">&gt; </span>Atheros patches modified by Samuel Ortiz.
  </pre>
</blockquote>
<pre wrap=""><!---->
Ooh it's nice if people are able to re-use the work Openmoko funded there!

</pre>
<blockquote type="cite">
  <pre wrap=""><span class="moz-txt-citetags">&gt; </span>I can get the kernel to compile and it is bootable, but when I go to
<span class="moz-txt-citetags">&gt; </span>make the modules, I get thrown an error because some stuff thats
<span class="moz-txt-citetags">&gt; </span>required for the SDIO modules for the Atheros chip is not defined in my
<span class="moz-txt-citetags">&gt; </span>patch for the Imote2.
<span class="moz-txt-citetags">&gt; </span>
<span class="moz-txt-citetags">&gt; </span>The error occurs doing "make modules"
<span class="moz-txt-citetags">&gt; </span>
<span class="moz-txt-citetags">&gt; </span>drivers/sdio/stack/busdriver/sdio_bus_os.c:363:2:#error "CONFIG_PNP not
<span class="moz-txt-citetags">&gt; </span>defined"
  </pre>
</blockquote>
<pre wrap=""><!---->
If you do

make ARCH=arm menuconfig

and have a look in "device drivers", "Plug and Play support" should be
the fifth guy down, make sure he is selected like [*].  I guess for
xscale it is still ARCH=arm.  In the Kconfig for it at

./drivers/pnp/Kconfig

it says

menuconfig PNP
        bool "Plug and Play support"
        depends on HAS_IOMEM
        depends on ISA || ACPI || SDIO  &lt;========

so make sure you enabled the SDIO stack that is part of the Atheros
driver in your config too.  Seems to be

CONFIG_SDIO=y
CONFIG_SDIO_AR6000_WLAN=y

Be aware though this driver is sensitive to the firmware version you
have on your physical wireless device, IIRC we use some magic "89"
firmware, but I don't know much about it.

- -Andy</pre>
<br>
</body>
</html>