Re: pci_alloc_consistent question

Francois Romieu (romieu@cogenit.fr)
Fri, 19 Oct 2001 20:51:31 +0200


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/