Update of /cvsroot/gc-linux/linux/arch/ppc/platforms
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29152/arch/ppc/platforms
Modified Files:
gamecube.c
Log Message:
include/asm-ppc/io.h expects all platforms that are !APUS to
provide definitions for isa_{io,mem}_base, pci_dram_offset.
Instead of working around this with even more #ifdef kludge,
just provide these definitions in the platform-specific file.
Besides, this will be moving to include/asm-powerpc/ RSN, and, having
to maintain ~550 lines for a 3 line delta doesn't seem very practical.
Index: gamecube.c
===================================================================
RCS file: /cvsroot/gc-linux/linux/arch/ppc/platforms/gamecube.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- gamecube.c 10 Aug 2005 11:54:35 -0000 1.34
+++ gamecube.c 10 Sep 2005 21:18:24 -0000 1.35
@@ -26,6 +26,15 @@
#include "gamecube.h"
+/*
+ * include/asm-ppc/io.h assumes everyone else that is not APUS provides
+ * these. Since we don't have either PCI or ISA busses, these are only
+ * here so things actually compile.
+ */
+unsigned long isa_io_base = 0;
+unsigned long isa_mem_base = 0;
+unsigned long pci_dram_offset = 0;
+
static unsigned long gamecube_find_end_of_memory(void)
{
|