Re: Allocate buffer in DMA zone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Jan 2003, Ravi wrote:

>  The size and address range of DMA zone can not be specified
> at runtime. It is architecture specific, and is fixed. For
> example, DMA zone on i386 is from 0 to 16MB (physical address).

That is when you're using the 8237A DMAC (DMA Controller), otherwise 
busmaster devices can access as large an address space as their onboard 
DMACs allow. E.g. some sound cards have DMACs which can only DMA within 
the 24bit address space and some other devices can DMA upto a 64bit 
address space using Dual Address Cycle (DAC). All this should be set with 
pci_set_dma_mask and allocations done with pci_alloc_consistent and 
friends. Have a look at Documentation/IO-mapping.txt.

	Zwane
-- 
function.linuxpower.ca


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux