From: Sander Eikelenboom Date: Fri, 14 Feb 2014 18:55:13 +0000 (-0700) Subject: ia64/PCI: Set IORESOURCE_ROM_SHADOW only for the default VGA device X-Git-Tag: v3.15-rc1~143^2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=058a2e1bb065f143a291fa0df88274cecd228f28;p=pandora-kernel.git ia64/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, include vgaarb.h] Signed-off-by: Sander Eikelenboom Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed