Eugene Surovegin wrote: >You cannot use virt_to_bus() on ioremap returned addresses. > >Eugene. > > > Hello!
Maybe I may go like this: I know my PCI from the device bus, so: unsigned long bus_address; struct pci_bus *my_bus = universe_pci_dev->bus; bus_address = pci_phys_to_bus(physical_address, my_bus->number); Since pci_phys_to_bus() is an exported symbol, this should work in my module, shouldn't it? Thanks in advance, Oliver Korpilla ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/