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

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

 



Presently, PCI card is not having any registers for DMA process. memcopy will do data transfer at slow rate. Is there any way to speed up the process ?
If possible give any link for pci bus master related stuff. Pls help me.

Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
On Wed, 2006-02-22 at 08:42 -0800, munees waran wrote:
> 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 ?
>

yes.

the card needs to be told to do the transfer, IF it can do it.
If not, memcpy_from_io() is all you have left ;)




Yahoo! Mail
Use Photomail to share photos without annoying attachments.

[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