Re: PCI DMA - Where to specify destination address (IO address)

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

 



DPRAM is memory mapped with PCI card. If i want to do data transfer from dpram to local memory, what is the procedure?.
 
I will get the base address of DPRAM using pci_resource_start() and pci_resource_end() API calls. I will enable the bus master capability using pci_set_master()  API call. Then how do initiate the transfer. you mean PCI card will have specific registers for configuration like source address, enable/disable dma operations. Is my understanding correct ?
 


Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
On Wed, 2006-02-22 at 08:25 -0800, munees waran wrote:
> You mean PCI card should have the hardware connection with DMA
> engine(controller). So that i can use it.

no I mean that the PCI card should itself contain a DMA engine.
Eg it needs to be a PCI Bus Master


> What is the latest dma controller used in pentium 4 ?
> how do i find that ?

You seem to not understand the PCI model!

The PCI model is that PCI Bus Masters *themselves* have a DMA engine.
There is no generic DMA engine on the cpu or motherboard.
(again experimental motherboards excluded)





Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

[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