add_88f6702a_cpu.diff
changeset 4 1b9d05c730cb
parent 3 f2f1be1cc4ba
child 5 bca986acd412
--- a/add_88f6702a_cpu.diff	Fri Sep 06 15:28:49 2013 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
---- linux-3.1.arch-orig/arch/arm/mach-kirkwood/common.c	2011-10-24 09:10:05.000000000 +0200
-+++ linux-3.1/arch/arm/mach-kirkwood/common.c	2013-09-02 19:15:48.772407684 +0200
-@@ -432,6 +432,11 @@ static char * __init kirkwood_id(void)
- 			return "MV88F6282-Rev-A0";
- 		else
- 			return "MV88F6282-Rev-Unsupported";
-+    } else if (dev == MV88F6702_DEV_ID) {
-+        if (rev == MV88F6702_REV_A1)
-+            return "MV88F6702-Rev-A1";
-+        else
-+            return "MV88F6702-Rev-Unsupported";
- 	} else {
- 		return "Device-Unknown";
- 	}
---- linux-3.1.arch-orig/arch/arm/mach-kirkwood/mpp.c	2011-10-24 09:10:05.000000000 +0200
-+++ linux-3.1/arch/arm/mach-kirkwood/mpp.c	2013-09-02 21:58:56.841873166 +0200
-@@ -27,7 +27,8 @@ static unsigned int __init kirkwood_vari
- 	if ((dev == MV88F6281_DEV_ID && rev >= MV88F6281_REV_A0) ||
- 	    (dev == MV88F6282_DEV_ID))
- 		return MPP_F6281_MASK;
--	if (dev == MV88F6192_DEV_ID && rev >= MV88F6192_REV_A0)
-+	if ((dev == MV88F6192_DEV_ID && rev >= MV88F6192_REV_A0) ||
-+	    (dev == MV88F6702_DEV_ID))
- 		return MPP_F6192_MASK;
- 	if (dev == MV88F6180_DEV_ID)
- 		return MPP_F6180_MASK;
---- linux-3.1.arch-orig/arch/arm/mach-kirkwood/include/mach/kirkwood.h	2011-10-24 09:10:05.000000000 +0200
-+++ linux-3.1/arch/arm/mach-kirkwood/include/mach/kirkwood.h	2013-09-02 19:15:58.945740460 +0200
-@@ -135,4 +135,7 @@
- 
- #define MV88F6282_DEV_ID	0x6282
- #define MV88F6282_REV_A0	0
-+
-+#define MV88F6702_DEV_ID    0x6702
-+#define MV88F6702_REV_A1    3
- #endif