Patchwork [1/4] Added Aeroflex Gaisler entry in manufacturer_info structure

login
register
mail settings
Submitter Kristoffer Glembo
Date Dec. 1, 2009, 2:52 p.m.
Message ID <1259679176-29835-1-git-send-email-kristoffer@gaisler.com>
Download mbox | patch
Permalink /patch/39913/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Kristoffer Glembo - Dec. 1, 2009, 2:52 p.m.
Here comes a series of small patches. This first one just adds 
an entry in manufacturer_info for Aeroflex Gaisler and LEON.

Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>
---
 arch/sparc/kernel/cpu.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
Sam Ravnborg - Dec. 1, 2009, 6:13 p.m.
Hi Kristoffer.

You need to fix up the $subject of all four patches.
Then should all contain a proper subsystem prefix.

    "sparc,leon: short title"

was used in the past.
It is good to be consistent here.

On Tue, Dec 01, 2009 at 03:52:53PM +0100, Kristoffer Glembo wrote:
> Here comes a series of small patches.

This does not belong to a changelog. This is to be added
in an intro mail.
The changelog should be readable as a changelog 3 years from now.


	Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/sparc/kernel/cpu.c b/arch/sparc/kernel/cpu.c
index 1446df9..e447938 100644
--- a/arch/sparc/kernel/cpu.c
+++ b/arch/sparc/kernel/cpu.c
@@ -185,6 +185,17 @@  static const struct manufacturer_info __initconst manufacturer_info[] = {
 		FPU(-1, NULL)
 	}
 },{
+	0xF,		/* Aeroflex Gaisler */
+	.cpu_info = {
+		CPU(3, "LEON"),
+		CPU(-1, NULL)
+	},
+	.fpu_info = {
+		FPU(2, "GRFPU"),
+		FPU(3, "GRFPU-Lite"),
+		FPU(-1, NULL)
+	}
+},{
 	0x17,
 	.cpu_info = {
 		CPU_PMU(0x10, "TI UltraSparc I   (SpitFire)", "ultra12"),