From: David W. <dw...@in...> - 2002-11-06 12:52:28
|
pau...@ti... said: > Linux exposes PCI access routines to do this in the form of > pci_resource_start(pdev, BAR_nr) and pci_resource_len(pdev, BAR_nr), > which you can pass to ioremap()/ioremap_nocache() directly to get a > corresponding cached/uncached virtual address. It is not a virtual address. It may look like one but that is only coincidence. It is a magic cookie for use with readb() et al., not an address. -- dwmw2 |