Re: pci_alloc_consistent question

From: Francois Romieu (romieu@cogenit.fr)
Date: Fri Oct 19 2001 - 13:51:31 EST


MEHTA,HIREN (A-SanJose,ex1) <hiren_mehta@agilent.com> :
[...]
> Is there any limitation on the amount of contiguous dmaable memory that
> can be allocated using a single call to pci_alloc_consistent() ?

See comment in arch/i386/kernel/pci-dma.c for pc world:
/*
 * Dynamic DMA mapping support.
 *
 * On i386 there is no hardware dynamic DMA address translation,
 * so consistent alloc/free are merely page allocation/freeing.
[...]

It fails as __get_free_pages does.

-- 
Ueimor
-
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 : Tue Oct 23 2001 - 21:00:24 EST