Skip to contentSkip to conversation

kirkwood: Recognize A1 revision of 6282 chip

PATCH New Martin Michlmayr 1 participant 1 message Nov 3, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kirkwood: Recognize A1 revision of 6282 chip

Recognize the Kirkwood 6282 revision A1 chip since products using this chip are shipping now, such as the QNAP TS-x19P II devices.

arch/arm/mach-kirkwood/common.c +2 -0
index f3248cf..b9632ee 100644
@@ -430,6 +430,8 @@ static char * __init kirkwood_id(void)
 	} else if (dev == MV88F6282_DEV_ID) {
 		if (rev == MV88F6282_REV_A0)
 			return "MV88F6282-Rev-A0";
+		else if (rev == MV88F6282_REV_A1)
+			return "MV88F6282-Rev-A1";
 		else
 			return "MV88F6282-Rev-Unsupported";
 	} else {
arch/arm/mach-kirkwood/include/mach/kirkwood.h +1 -0
index 010bdeb..fede3d5 100644
@@ -135,4 +135,5 @@
 
 #define MV88F6282_DEV_ID	0x6282
 #define MV88F6282_REV_A0	0
+#define MV88F6282_REV_A1	1
 #endif
Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/