Re: virt_to_bus and virt_to_phys on Apple G4 target

2001-07-04 Thread Paul Mackerras
[EMAIL PROTECTED] writes: > I am running linux 2.4.2 on Apple G4 machine. I think the 'PCI bus > addresses' and 'physical addresses' are same on this architecture. I They are the same on an Apple G4 but not necessarily on other PowerPC machines. It depends on the PCI host bridge implementation.

virt_to_bus and virt_to_phys on Apple G4 target

2001-07-02 Thread mdaljeet
I am running linux 2.4.2 on Apple G4 machine. I think the 'PCI bus addresses' and 'physical addresses' are same on this architecture. I expected the two be different but according to asm/io.h 'virt_to_bus(addr) = virt_to_phys(addr) + PCI_DRAM_OFFSET'. I printed the value of 'PCI_DRAM_OFFSET' and t