diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:04 -0400 |
commit | 92519d82828a93743adc31202927f411601c0d04 (patch) | |
tree | 66870a71932fa52ad0d4cd748c0df0a8a7fc2e29 /arch/arm/mach-sa1100/assabet.c | |
parent | cd5fc8bffd70b2d87953334b6195db4bc2125ff9 (diff) |
[ARM] 2992/1: Replace map_desc.physical with map_desc.pfn: SA1100
Patch from Deepak Saxena
SA1100 map_desc.pfn conversion
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/assabet.c')
-rw-r--r-- | arch/arm/mach-sa1100/assabet.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index 24687f511bf5..75efb5da5b6d 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c | |||
@@ -388,9 +388,17 @@ static struct sa1100_port_fns assabet_port_fns __initdata = { | |||
388 | }; | 388 | }; |
389 | 389 | ||
390 | static struct map_desc assabet_io_desc[] __initdata = { | 390 | static struct map_desc assabet_io_desc[] __initdata = { |
391 | /* virtual physical length type */ | 391 | { /* Board Control Register */ |
392 | { 0xf1000000, 0x12000000, 0x00100000, MT_DEVICE }, /* Board Control Register */ | 392 | .virtual = 0xf1000000, |
393 | { 0xf2800000, 0x4b800000, 0x00800000, MT_DEVICE } /* MQ200 */ | 393 | .pfn = __phys_to_pfn(0x12000000), |
394 | .length = 0x00100000, | ||
395 | .type = MT_DEVICE | ||
396 | }, { /* MQ200 */ | ||
397 | .virtual = 0xf2800000, | ||
398 | .pfn = __phys_to_pfn(0x4b800000), | ||
399 | .length = 0x00800000, | ||
400 | .type = MT_DEVICE | ||
401 | } | ||
394 | }; | 402 | }; |
395 | 403 | ||
396 | static void __init assabet_map_io(void) | 404 | static void __init assabet_map_io(void) |