Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307380
b: refs/heads/master
c: 6cf20be
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie committed May 16, 2012
1 parent ffb7a9a commit e849d87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3b7e17c4bdc0b6675729ece8dd55ed94785f744
refs/heads/master: 6cf20beec4b91c240cf759b4db72669e251f1fc4
3 changes: 3 additions & 0 deletions trunk/arch/x86/pci/fixup.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <linux/pci.h>
#include <linux/init.h>
#include <asm/pci_x86.h>
#include <asm/vga.h>

static void __devinit pci_fixup_i450nx(struct pci_dev *d)
{
Expand Down Expand Up @@ -348,6 +349,8 @@ static void __devinit pci_fixup_video(struct pci_dev *pdev)
if (config & (PCI_COMMAND_IO | PCI_COMMAND_MEMORY)) {
pdev->resource[PCI_ROM_RESOURCE].flags |= IORESOURCE_ROM_SHADOW;
dev_printk(KERN_DEBUG, &pdev->dev, "Boot video device\n");
if (!vga_default_device())
vga_set_default_device(pdev);
}
}
DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID,
Expand Down

0 comments on commit e849d87

Please sign in to comment.