linux-mips
[Top] [All Lists]

ip32 kconfig patch

To: Linux MIPS <linux-mips@linux-mips.org>
Subject: ip32 kconfig patch
From: Paul Jakma <paul@clubi.ie>
Date: Sun, 28 Nov 2004 03:24:13 +0000 (GMT)
Mail-followup-to: paul@hibernia.jakma.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi,

IP32 needs the below to build CVS. rm7k_sc_enable and __rm7k_sc_enable in arch/mips/mm/sc-r7k.c reference the MIPS32 KSEG{0,1}ADDR macros. I dont know enough about MIPS to fixup the KSEGxADDR references unfortunately, but this lets me build for R10k at least.

Resulting kernel didnt /seem/ to boot though on an R12k O2 - I cant tell for sure sadly, no console at all, but it didnt blink the keyboard leds - and not sure if thats related.. i think r10k and r12k use the r4k cache enable functions, anyone know?.

Index: arch/mips/Kconfig
===================================================================
RCS file: /home/cvs/linux/arch/mips/Kconfig,v
retrieving revision 1.109
diff -u -6 -r1.109 Kconfig
--- arch/mips/Kconfig   24 Nov 2004 09:03:40 -0000      1.109
+++ arch/mips/Kconfig   28 Nov 2004 03:15:10 -0000
@@ -494,13 +494,12 @@
 config SGI_IP32
        bool "Support for SGI IP32 (O2) (EXPERIMENTAL)"
        depends on MIPS64 && EXPERIMENTAL
        select DMA_NONCOHERENT
        select HW_HAS_PCI
        select R5000_CPU_SCACHE
-       select RM7000_CPU_SCACHE
        help
          If you want this kernel to run on SGI O2 workstation, say Y here.

 config SOC_AU1X00
        depends on MIPS32
        bool "Support for AMD/Alchemy Au1X00 SOCs"

regards,
--
Paul Jakma      paul@clubi.ie   paul@jakma.org  Key ID: 64A2FF6A
Fortune:
There is nothing wrong with Southern California that a rise in the
ocean level wouldn't cure.
                -- Ross MacDonald

<Prev in Thread] Current Thread [Next in Thread>