Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Kconfig for R5k/RM7k sc
@ 2004-10-03 16:44 Christopher G. Stach II
  2004-10-03 18:12 ` Thiemo Seufer
  2004-10-04 18:07 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher G. Stach II @ 2004-10-03 16:44 UTC (permalink / raw)
  To: linux-mips

    This should prevent the rm7k sc code from being built for IP32, etc.

Index: arch/mips/Kconfig
===================================================================
RCS file: /home/cvs/linux/arch/mips/Kconfig,v
retrieving revision 1.96
diff -u -b -B -r1.96 Kconfig
--- arch/mips/Kconfig   24 Sep 2004 21:43:04 -0000  1.96
+++ arch/mips/Kconfig   3 Oct 2004 16:30:34 -0000
@@ -497,8 +497,6 @@
    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.

@@ -1155,11 +1153,13 @@

 config CPU_R5000
    bool "R5000"
+   select R5000_CPU_SCACHE
    help
      MIPS Technologies R5000-series processors other than the Nevada.

 config CPU_R5432
    bool "R5432"
+   select R5000_CPU_SCACHE

 config CPU_R6000
    bool "R6000"
@@ -1170,6 +1170,7 @@

 config CPU_NEVADA
    bool "R52xx"
+   select R5000_CPU_SCACHE
    help
      MIPS Technologies R52x0-series ("Nevada") processors.
 @@ -1187,6 +1188,7 @@

 config CPU_RM7000
    bool "RM7000"
+   select RM7000_CPU_SCACHE
  config CPU_RM9000
    bool "RM9000" 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Kconfig for R5k/RM7k sc
  2004-10-03 16:44 [PATCH] Kconfig for R5k/RM7k sc Christopher G. Stach II
@ 2004-10-03 18:12 ` Thiemo Seufer
  2004-10-04 18:07 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Thiemo Seufer @ 2004-10-03 18:12 UTC (permalink / raw)
  To: linux-mips

Christopher G. Stach II wrote:
>     This should prevent the rm7k sc code from being built for IP32, etc.

Why do you want to do that? IMHO it's quite sensible to do a generic
O2 kernel which runs on both R5x00 and RM7000 while still using the
scache if available.


Thiemo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Kconfig for R5k/RM7k sc
  2004-10-03 16:44 [PATCH] Kconfig for R5k/RM7k sc Christopher G. Stach II
  2004-10-03 18:12 ` Thiemo Seufer
@ 2004-10-04 18:07 ` Ralf Baechle
  1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2004-10-04 18:07 UTC (permalink / raw)
  To: Christopher G. Stach II; +Cc: linux-mips

On Sun, Oct 03, 2004 at 11:44:24AM -0500, Christopher G. Stach II wrote:

>     This should prevent the rm7k sc code from being built for IP32, etc.

This would prevent the kernel from running on RM7k IP32 and add the
R5000 stuff to loads of machines that don't have it.  No way.

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-04 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-03 16:44 [PATCH] Kconfig for R5k/RM7k sc Christopher G. Stach II
2004-10-03 18:12 ` Thiemo Seufer
2004-10-04 18:07 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox