[linux-cirrus] Re: DMA for IDE
- From: Jean-Philippe Francois <jp.francois@xxxxxxxxxx>
- To: linux-cirrus@xxxxxxxxxxxxx
- Date: Thu, 20 Oct 2005 09:23:17 +0200
On Wed, 2005-10-19 at 17:14, Michael Burian wrote:
> zl wrote:
> >
> >
> > Downloaded and compiled the 2.6. Booted and detected IDE drive, but could
> > not mount it. Complained about bad block. So can't test if it works or
> > not. Tried their pre-built binaries, but none of them have IDE enabled.
> >
> Does it work with DMA disabled?
>
> If no, and it turns out that getting it to work isn't a trivial issue,
> I'd say that's a pretty sure sign that we should forward port from
> 2.4.21 instead.
>
> > I have a 2.4.21 version that has DMA enable, and it seems working fine. Do
>
> What version are you using?
> The latest version from [1] or something else?
>
> If your working version is different from the version [1] we should
> first check if there are relevant changes between them.
>
> [1]
> http://arm.cirrus.com/files/linux/kernel/source/2.4/
>
> > we base on 2.4 or shall we try to get their 2.6 to work first?
> >
>
> Good question - it all depends on the impression the 2.6 code makes.
>
> Does it look like a copy of the old stuff or a clean rewrite?
>
I gave a look to the cirrus 2.6.8.1 code, and it looks like an adapted
copy of the old code. It still uses some mapping function like
ep93xx_map_sg, that should know be replaced by function from the 2.6 DMA
API.
Since it is not a rewrite, I think you should forward port from 2.4.21
which we know is working.
Regards,
JP Francois
- Follow-Ups:
- [linux-cirrus] Re: DMA for IDE
- From: Michael Burian
- References:
- [linux-cirrus] Re: DMA for IDE
- From: zl
- [linux-cirrus] Re: DMA for IDE
- From: Michael Burian
Other related posts:
- » [linux-cirrus] DMA for IDE
- » [linux-cirrus] Re: DMA for IDE
- » [linux-cirrus] Re: DMA for IDE
- » [linux-cirrus] Re: DMA for IDE
- » [linux-cirrus] Re: DMA for IDE
- » [linux-cirrus] Re: DMA for IDE
- [linux-cirrus] Re: DMA for IDE
- From: Michael Burian
- [linux-cirrus] Re: DMA for IDE
- From: zl
- [linux-cirrus] Re: DMA for IDE
- From: Michael Burian