On Wed, 28 Jan 2009 11:37:35 -0500
Hugo Villeneuve <[email protected]> wrote:

> On Tue, 27 Jan 2009 14:28:05 -0800
> David Brownell <[email protected]> wrote:
> 
> > On Tuesday 27 January 2009, Hugo Villeneuve wrote:
> > > 
> > > > > So if I am using the latest davinci git kernel, should I apply
> > > > > your patch? If so where is it located?
> > > > 
> > > > I just resent that.
> > > 
> > > I tried your patch but it actually prevents the driver from being
> > > loaded correctly (command 0x0003 timed out):
> > 
> > That's from the libertas driver ... unclear what MMC protocol
> > command is involved.  Better to see the whole trace with the
> > MMC and/or davinci_mmc debug messages.  And maybe trace the
> > SDIO irq enable/disable.
> 
> Just to recap:
> 
> 1. Yes I am using the libertas driver, and with the latest stock
> davinci-2.6 git kernel (latest commit is
> f9719b2d8f29e5bef46a51594d79643fff045221 from January 20th) , the
> libertas and davinci_mmc drivers seems to load correctly:
> 
> $> modprobe davinci_mmc
> davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode

I had an idea, I added the <use_dma=0> when loading the davinci_mmc
driver:

$> modprobe davinci_mmc use_dma=0
davinci_mmc davinci_mmc.0: Using PIO, 4-bit mode
...

And now in PIO mode everything works fine, the Wifi chip is
fully operational.

I will obviously try to figure what is wrong with the failed DMA
transfer. In the meantime, I will send a patch just to prevent a
segfault with that NULL host->data pointer.

Hugo V.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to