summaryrefslogtreecommitdiff
path: root/arch/ia64/pci/fixup.c
diff options
context:
space:
mode:
authorSander Eikelenboom <linux@eikelenboom.it>2014-01-31 10:28:23 +0100
committerBjorn Helgaas <bhelgaas@google.com>2014-02-14 12:35:19 -0700
commitd8801e4df91ee788486a11b36f45aa04784f7b4a (patch)
treef9fb24d9800ada65df6e6bac0d33d492c2217847 /arch/ia64/pci/fixup.c
parent5ee09efe5406ad983e98d07ac17ad27819c0dc5b (diff)
x86/PCI: Set IORESOURCE_ROM_SHADOW only for the default VGA device
Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it from reading its own ROM. It will get the content of the shadow ROM at C000 instead, which is of the primary VGA card and the driver of the secondary card will bail out. Fix this by checking if the arch code or vga-arbitration has already determined the vga_default_device, if so only apply the fix to this primary video device and let the comment reflect this. [bhelgaas: add subject, split x86 & ia64 into separate patches] Signed-off-by: Sander Eikelenboom <linux@eikelenboom.it> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/ia64/pci/fixup.c')
0 files changed, 0 insertions, 0 deletions