aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion/common.c
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2007-11-11 06:05:11 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 10:03:55 -0500
commitc9e3de941a1694aeab60a10bd39eb710c975010d (patch)
tree2170ec347a05253c87bf18017a6c4dc506fb6ac6 /arch/arm/mach-orion/common.c
parent1e78045306e9a402b096eef95864ddf313d402d8 (diff)
[ARM] Orion: MV88F5181 support bits
add MV88F5181 support bits required by D-link DNS-323 patch Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> Acked-by: Tzachi Perelstein <tzachi@marvell.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-orion/common.c')
-rw-r--r--arch/arm/mach-orion/common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-orion/common.c b/arch/arm/mach-orion/common.c
index 12736fd60004..ff34827f82a5 100644
--- a/arch/arm/mach-orion/common.c
+++ b/arch/arm/mach-orion/common.c
@@ -237,6 +237,12 @@ static void orion_id(u32 *dev, u32 *rev, char **dev_name)
237 } else { 237 } else {
238 *dev_name = "MV88F5182-Rev-Unsupported"; 238 *dev_name = "MV88F5182-Rev-Unsupported";
239 } 239 }
240 } else if (*dev == MV88F5181_DEV_ID) {
241 if (*rev == MV88F5181_REV_B1) {
242 *dev_name = "MV88F5181-Rev-B1";
243 } else {
244 *dev_name = "MV88F5181-Rev-Unsupported";
245 }
240 } else { 246 } else {
241 *dev_name = "Device-Unknown"; 247 *dev_name = "Device-Unknown";
242 } 248 }