[IA64] SN: Correct ROM resource length for BIOS copy
authorJohn Keller <jpk@sgi.com>
Mon, 9 Jul 2007 18:42:24 +0000 (11:42 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 9 Jul 2007 20:37:18 +0000 (13:37 -0700)
commitd7ad2254fa7cc11aec3faeba076c1243f6adeb47
tree900c05b11a3a44f19618701172ffb5f51ecdeb99
parent83ce6ef8408bbc7d9322ab50ba592f83012dea94
[IA64] SN: Correct ROM resource length for BIOS copy

On SN systems, when setting the IORESOURCE_ROM_BIOS_COPY resource flag,
the resource length should be set to the actual size of the ROM image
so that a call to pci_map_rom() returns the correct size.

Signed-off-by: John Keller <jpk@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/io_acpi_init.c
arch/ia64/sn/kernel/io_init.c
drivers/pci/rom.c
include/linux/pci.h