[PATCH] ppc/powerpc: Fix io.h for config with CONFIG_PCI not set

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Nov 5 12:12:14 EST 2006


On Sun, 2006-11-05 at 01:17 +0100, Sylvain Munaut wrote:
> When CONFIG_PCI option is not set, the variables
> pci_dram_offset, isa_io_base and isa_mem_base are not defined.
> 
> Currently, the test is handled in each platform header. This
> patch moves the test in io.h once and for all.

Be careful with _IO_BASE... I'm not 100% sure some platforms don't need
it set to something else even when PCI is not present.

Ben.





More information about the Linuxppc-embedded mailing list