diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2007-11-11 06:05:11 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:03:55 -0500 |
commit | c9e3de941a1694aeab60a10bd39eb710c975010d (patch) | |
tree | 2170ec347a05253c87bf18017a6c4dc506fb6ac6 /arch/arm/mach-orion/addr-map.c | |
parent | 1e78045306e9a402b096eef95864ddf313d402d8 (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/addr-map.c')
-rw-r--r-- | arch/arm/mach-orion/addr-map.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-orion/addr-map.c b/arch/arm/mach-orion/addr-map.c index ff6e010bccb2..488da3811a68 100644 --- a/arch/arm/mach-orion/addr-map.c +++ b/arch/arm/mach-orion/addr-map.c | |||
@@ -167,7 +167,9 @@ static int __init orion_cpu_win_can_remap(u32 win) | |||
167 | u32 dev, rev; | 167 | u32 dev, rev; |
168 | 168 | ||
169 | orion_pcie_id(&dev, &rev); | 169 | orion_pcie_id(&dev, &rev); |
170 | if ((dev == MV88F5281_DEV_ID && win < 4) || (dev == MV88F5182_DEV_ID && win < 2)) | 170 | if ((dev == MV88F5281_DEV_ID && win < 4) |
171 | || (dev == MV88F5182_DEV_ID && win < 2) | ||
172 | || (dev == MV88F5181_DEV_ID && win < 2)) | ||
171 | return 1; | 173 | return 1; |
172 | 174 | ||
173 | return 0; | 175 | return 0; |