Re: PCI DMA kernel driver patch

Bernhard Praschinger <[email protected]> Thu, 22 May 2008 06:41:03 +0200
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
Hallo

> Some weeks ago I reported a problem with the Zoran driver on x86_64 and
> large amounts of RAM[1]. Unfortunately I didn't receive any feedback, so
> I just updated the driver to use the current PCI-DMA API on my own. It
> turns out that my initial guess was correct and with the updated driver
> the card now also works on 64-bit Linux.
I do not have a 64bit machine for testing. I work on a 4 year old 32bit 
SMP machine.

> You can find the necessary Linux kernel patch in the attachment. It's
> against 2.6.24, but should apply to newer versions without any major
> problems. Please review and maybe also test on big-endian machines, as
> I'm not sure if I put all calls to cpu_to_le32() in the right places.
Do you think the patch also works with older kernels like a 2.6.20 I use ?

If not I will have to compile a new kernel ( for example the 2.6.25.4) 
and test it on a 32 Bit machine.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [email protected]
www: http://www.lysator.liu.se/~gz/bernhard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/