Re: DMA memory limitation?

Jeff Garzik (jgarzik@mandrakesoft.com)
Fri, 06 Jul 2001 07:27:09 -0400


Alan Cox wrote:
> No ifdefs are needed
>
> GFP_DMA - ISA dma reachable
> pci_alloc_* and friends - PCI usable memory

pci_alloc_* is designed to support ISA.

Pass pci_dev==NULL to pci_alloc_* for ISA devices, and it allocs GFP_DMA
for you.

-- 
Jeff Garzik      | A recent study has shown that too much soup
Building 1024    | can cause malaise in laboratory mice.
MandrakeSoft     |
-
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/