Backport 88f6282 A1 support from mainline
svn path=/dists/trunk/linux-2.6/; revision=18520
This commit is contained in:
parent
fa035d557c
commit
ba01f127e1
|
@ -33,6 +33,7 @@ linux-2.6 (3.2.1-1~experimental.1) UNRELEASED; urgency=low
|
|||
* [arm] backport topdown mmap support from rmk's tree
|
||||
* [armel] Enable support from LaCIE kirkwood devices, thanks to Simon Guinot
|
||||
(Closes: #655344)
|
||||
* [armel] Backport 88f6282 A1 support
|
||||
|
||||
-- Ben Hutchings <ben@decadent.org.uk> Mon, 02 Jan 2012 02:55:28 +0000
|
||||
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
commit a87d89e74f0a4b56eaee8c3ef74bce69277b780f
|
||||
Author: Martin Michlmayr <tbm@cyrius.com>
|
||||
Date: Thu Nov 3 12:57:43 2011 +0000
|
||||
|
||||
ARM: 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.
|
||||
|
||||
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
|
||||
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
|
||||
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
|
||||
|
||||
diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c
|
||||
index f3248cf..b9632ee 100644
|
||||
--- a/arch/arm/mach-kirkwood/common.c
|
||||
+++ b/arch/arm/mach-kirkwood/common.c
|
||||
@@ -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 {
|
||||
diff --git a/arch/arm/mach-kirkwood/include/mach/kirkwood.h b/arch/arm/mach-kirkwood/include/mach/kirkwood.h
|
||||
index 010bdeb..fede3d5 100644
|
||||
--- a/arch/arm/mach-kirkwood/include/mach/kirkwood.h
|
||||
+++ b/arch/arm/mach-kirkwood/include/mach/kirkwood.h
|
||||
@@ -135,4 +135,5 @@
|
||||
|
||||
#define MV88F6282_DEV_ID 0x6282
|
||||
#define MV88F6282_REV_A0 0
|
||||
+#define MV88F6282_REV_A1 1
|
||||
#endif
|
|
@ -62,3 +62,4 @@
|
|||
+ bugfix/arm/ARM-ixp4xx-gpiolib-support.patch
|
||||
+ bugfix/arm/ARM-topdown-mmap.patch
|
||||
+ bugfix/alpha/alpha-add-io-read-write-16-32-be-functions.patch
|
||||
+ features/arm/ARM-kirkwood-6282A1.patch
|
||||
|
|
Loading…
Reference in New Issue