Re: DAC960, 2.4.19 alpha problems

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Wed Nov 20 2002 - 08:36:19 EST


On Tue, Nov 19, 2002 at 11:37:31AM -0800, Dave Olien wrote:
> On ia32, we know that the memory allocated for memory mailboxes
> (using __get_free_pages()) will always be below 4-gig.

That was it, I guess.
virt_to_bus() is deprecated - driver *must* be converted
to the DMA mapping interface (see Documentation/DMA-mapping.txt).

virt_to_bus() on alpha works only for limited range of kernel addresses.
On dp264 valid range is 0x00000000-0x7fefffff (i.e. 2Gb - 1Mb).
Given the fact that __get_free_pages() returns highest possible
pages I'm not surprised that this driver doesn't work on a 2Gb machine.

Probably "mem=2047M" boot argument would help...

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:31 EST