Am Donnerstag, 4. Oktober 2007 schrieb yogeshwar sonawane: > Hello all, > > For accessing memory-mapped 64bit-BAR regions of a PCI card, the > respective BAR regions has to be made accessible to the kernel using > ioremap() function. Then readl()/writel() can be used on the address > returned by ioremap(). You should use pci_iomap() to get an access pointer to the BAR. After this you can access the memory with ioread*() and iowrite*(). See "man pci_iomap(9)" if you build kernel manpages. Greetings, Eike
Attachment:
signature.asc
Description: This is a digitally signed message part.
- Follow-Ups:
- Re: Accessing 64-bit BARs
- From: Roland Dreier <[email protected]>
- Re: Accessing 64-bit BARs
- References:
- Accessing 64-bit BARs
- From: "yogeshwar sonawane" <[email protected]>
- Accessing 64-bit BARs
- Prev by Date: Re: [PATCH] remove throttle_vm_writeout()
- Next by Date: Re: [PATCH 1/3] signal(i386): alternative signal stack wraparound occurs
- Previous by thread: Accessing 64-bit BARs
- Next by thread: Re: Accessing 64-bit BARs
- Index(es):