Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Martin Michlmayr <tbm@cyrius.com>
To: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Cc: linux-mips@linux-mips.org
Subject: Re: Diff between Linus' and linux-mips git: VR4181
Date: Mon, 20 Feb 2006 01:41:21 +0000	[thread overview]
Message-ID: <20060220014121.GC18438@deprecation.cyrius.com> (raw)
In-Reply-To: <200602200132.k1K1WKtV023245@mbox02.po.2iij.net>

* Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [2006-02-20 10:32]:
> VR4181 and VR4181A are different.
> Please don't remove VR4181A. 

OK, this one doesn't touch VR4181A.


[MIPS] Remove last portions of incomplete VR4181 support

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 4ca93ff..b89088e 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -503,7 +503,8 @@ config DDB5477
 	  ether port USB, AC97, PCI, etc.
 
 config MACH_VR41XX
-	bool "Support for NEC VR41XX-based machines"
+	bool "Support for NEC VR41XX based machines"
+	select SYS_HAS_CPU_VR41XX
 
 config PMC_YOSEMITE
 	bool "Support for PMC-Sierra Yosemite eval board"
@@ -1016,9 +1017,6 @@ config MIPS_L1_CACHE_SHIFT
 config HAVE_STD_PC_SERIAL_PORT
 	bool
 
-config VR4181
-	bool
-
 config ARC_CONSOLE
 	bool "ARC console support"
 	depends on SGI_IP22 || SNI_RM200_PCI
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index c6363ff..292f8b2 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -242,15 +242,9 @@ static inline void cpu_probe_legacy(stru
 		break;
 	case PRID_IMP_VR41XX:
 		switch (c->processor_id & 0xf0) {
-#ifndef CONFIG_VR4181
 		case PRID_REV_VR4111:
 			c->cputype = CPU_VR4111;
 			break;
-#else
-		case PRID_REV_VR4181:
-			c->cputype = CPU_VR4181;
-			break;
-#endif
 		case PRID_REV_VR4121:
 			c->cputype = CPU_VR4121;
 			break;
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c
index 86fe15b..0fbf450 100644
--- a/arch/mips/kernel/proc.c
+++ b/arch/mips/kernel/proc.c
@@ -79,7 +79,6 @@ static const char *cpu_name[] = {
 	[CPU_VR4122]	= "NEC VR4122",
 	[CPU_VR4131]	= "NEC VR4131",
 	[CPU_VR4133]	= "NEC VR4133",
-	[CPU_VR4181]	= "NEC VR4181",
 	[CPU_VR4181A]	= "NEC VR4181A",
 	[CPU_SR71000]	= "Sandcraft SR71000",
 	[CPU_PR4450]	= "Philips PR4450",
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 1b71d91..28a3b33 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -840,7 +840,6 @@ static void __init probe_pcache(void)
 	case CPU_VR4111:
 	case CPU_VR4121:
 	case CPU_VR4122:
-	case CPU_VR4181:
 	case CPU_VR4181A:
 		icache_size = 1 << (10 + ((config & CONF_IC) >> 9));
 		c->icache.linesz = 16 << ((config & CONF_IB) >> 5);
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 0f94858..5a7e0a6 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -908,7 +908,6 @@ static __init void build_tlb_write_entry
 	case CPU_VR4111:
 	case CPU_VR4121:
 	case CPU_VR4122:
-	case CPU_VR4181:
 	case CPU_VR4181A:
 		i_nop(p);
 		i_nop(p);
@@ -1054,9 +1053,8 @@ static __init void build_adjust_context(
 	case CPU_VR4121:
 	case CPU_VR4122:
 	case CPU_VR4131:
-	case CPU_VR4181:
-	case CPU_VR4181A:
 	case CPU_VR4133:
+	case CPU_VR4181A:
 		shift += 2;
 		break;
 
diff --git a/include/asm-mips/cpu.h b/include/asm-mips/cpu.h
index 818b9a9..ef72bcd 100644
--- a/include/asm-mips/cpu.h
+++ b/include/asm-mips/cpu.h
@@ -116,7 +116,6 @@
 #define PRID_REV_TX3922 	0x0030
 #define PRID_REV_TX3927 	0x0040
 #define PRID_REV_VR4111		0x0050
-#define PRID_REV_VR4181		0x0050	/* Same as VR4111 */
 #define PRID_REV_VR4121		0x0060
 #define PRID_REV_VR4122		0x0070
 #define PRID_REV_VR4181A	0x0070	/* Same as VR4122 */
@@ -183,7 +182,6 @@
 #define CPU_VR4121		47
 #define CPU_VR4122		48
 #define CPU_VR4131		49
-#define CPU_VR4181		50
 #define CPU_VR4181A		51
 #define CPU_AU1100		52
 #define CPU_SR71000		53
diff --git a/include/asm-mips/vr41xx/vr41xx.h b/include/asm-mips/vr41xx/vr41xx.h

-- 
Martin Michlmayr
http://www.cyrius.com/

  reply	other threads:[~2006-02-20  1:34 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-19 23:43 Diff between Linus' and linux-mips git: drivers! Martin Michlmayr
2006-02-19 23:47 ` Diff between Linus' and linux-mips git: trivial changes Martin Michlmayr
2006-02-20 13:33   ` Maciej W. Rozycki
2006-02-20 14:11     ` Ralf Baechle
2006-02-20 14:16     ` Martin Michlmayr
2006-02-20 14:16     ` Martin Michlmayr
2006-02-20 14:18     ` Martin Michlmayr
2006-02-20 14:28     ` Martin Michlmayr
2006-02-20 16:58       ` Maciej W. Rozycki
2006-02-20 18:09         ` Martin Michlmayr
2006-02-27 22:34   ` Martin Michlmayr
2006-02-28 21:10     ` Jordan Crouse
2006-02-20  0:01 ` Diff between Linus' and linux-mips git: small changes Martin Michlmayr
2006-02-20  0:11   ` Diff between Linus' and linux-mips git: VR4181 Martin Michlmayr
2006-02-20  0:31     ` Diff between Linus' and linux-mips git: elf.h Martin Michlmayr
2006-02-20 11:34       ` Ralf Baechle
2006-04-07 17:19         ` Martin Michlmayr
2006-04-07 17:47           ` Kevin D. Kissell
2006-04-07 17:47             ` Kevin D. Kissell
2006-04-07 22:21             ` Ralf Baechle
2006-04-10 12:27               ` Thiemo Seufer
2006-04-10 15:43                 ` Ralf Baechle
2006-02-20  1:07     ` Diff between Linus' and linux-mips git: VR4181 Yoichi Yuasa
2006-02-20  1:21       ` Martin Michlmayr
2006-02-20  1:32         ` Yoichi Yuasa
2006-02-20  1:41           ` Martin Michlmayr [this message]
2006-02-20  1:50             ` Yoichi Yuasa
2006-02-20  0:17   ` Diff between Linus' and linux-mips git: declance Martin Michlmayr
2006-02-20 14:22     ` Martin Michlmayr
2006-02-20 17:02       ` Maciej W. Rozycki
2006-02-20  0:19   ` Diff between Linus' and linux-mips git: tulip Martin Michlmayr
2006-02-20 23:03     ` Peter Horton
2006-02-24  1:13       ` Martin Michlmayr
2006-02-24  1:49         ` Martin Michlmayr
2006-02-27 18:12           ` Ralf Baechle
2006-03-01 21:53         ` Peter Horton
2006-02-27 19:07   ` Diff between Linus' and linux-mips git: small changes Martin Michlmayr
2006-02-28 20:22     ` Dmitry Torokhov
2006-02-20  0:34 ` Diff between Linus' and linux-mips git: drivers! Martin Michlmayr
2006-02-27 19:10   ` Martin Michlmayr
2006-02-28  4:47     ` Yoichi Yuasa
2006-02-28  9:51       ` Martin Michlmayr
2006-02-20 15:27 ` Jordan Crouse
2006-02-20 15:27   ` Martin Michlmayr
2006-02-20 15:52   ` Christoph Hellwig
2006-02-20 16:46   ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060220014121.GC18438@deprecation.cyrius.com \
    --to=tbm@cyrius.com \
    --cc=linux-mips@linux-mips.org \
    --cc=yoichi_yuasa@tripeaks.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox