pci_iomap man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

PCI_IOMAP(9)		   Public Functions Provided		  PCI_IOMAP(9)

NAME
       pci_iomap - create a virtual mapping cookie for a PCI BAR

SYNOPSIS
       void __iomem * pci_iomap(struct pci_dev * dev, int bar,
				unsigned long maxlen);

ARGUMENTS
       dev
	   PCI device that owns the BAR

       bar
	   BAR number

       maxlen
	   length of the memory to map

DESCRIPTION
       Using this function you will get a __iomem address to your device BAR.
       You can access it using ioread*() and iowrite*(). These functions hide
       the details if this is a MMIO or PIO address space and will just do
       what you expect from them in the correct way.

       maxlen specifies the maximum length to map. If you want to get access
       to the complete BAR without checking for its length first, pass 0 here.

AUTHORS
       Matthew Wilcox <matthew@wil.cx>
	   Author.

       Alan Cox <alan@lxorguk.ukuu.org.uk>
	   Author.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013			  PCI_IOMAP(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net