pci_alloc_consistent size more than 4mb

Matt Porter porter at cox.net
Thu Mar 13 15:09:35 EST 2003


On Wed, Mar 12, 2003 at 07:21:22PM -0800, bhupinder sahran wrote:
>
> Hi guys
>
> I am using pci_alloc_consistent system call in one of
> the driver. I need to get 16 mb of consistent memory.
> But i am seeing that i can get maximum 4mb of memory
> through pci_alloc_consistent or get_free_pages. Is
> there anyway we can get 16mb of consistent memory from
> the OS. I am using kernel version 2.4.7.

Um, 2MB on 2.4. MAX_ORDER=10 as far as I recall back on 2.4.
On 2.5 it's 11 and you can get 4MB max.

Please read the mailing list...I answered this question just
a few hours ago.

-Matt

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list