# include <asm/io.h>
and use virt_to_phys() and phys_to_virt()
or virt_to_bus() and bus_to_virt()
The virt_to_bus() output is the stuff you shove into the DMA controllers
of your PCI device, and bus_to_virt() to convert the (masked) BAR values
to virtual addresses.
-- Steve Williams steve@icarus.com steve@picturel.com"The woods are lovely, dark and deep. But I have promises to keep, And lines to code before I sleep, And lines to code before I sleep."