
Dear Nobuhiro Iwamatsu,
In message 20080829103949.022a6e45.iwamatsu@nigauri.org you wrote:
A source code of pci is written mainly on powerpc. Macro uses a pci source code of powerpc because other architecture (ex. SuperH) doesn't work.
I made asm-ppc/pci.h and moved macro of pci. Other archtecture need to make the following macro in asm-xxx/pci.h #define pci_phys_to_mem(dev, addr) (addr) #define pci_mem_to_phys(dev, addr) (addr) #define pci_phys_to_io(dev, addr) (addr) #define pci_io_to_phys(dev, addr) (addr)
Or have to make a function for pci address conversion. However, I want comment because I do not know the other architecture.
To me the patch looks OK, but I'm not an expert for al the affected architectures.
Hello everybody, please comment!!
Otherwise I will just apply the patch and then not listen to your complaints if it breaks anything.
Best regards,
Wolfgang Denk