diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-07-19 19:05:30 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-07-19 19:05:30 -0400 |
commit | 04eece270b9e89ea74447200d20849780797d63d (patch) | |
tree | a1ff12254dc46ed67537a63392a6332e0a7e6ff1 /src/optionroms.c | |
parent | 22e1b91ea88b2d7ebdf9f0fc90ca1d90fbe25225 (diff) | |
download | seabios-04eece270b9e89ea74447200d20849780797d63d.tar.gz |
Only run the vga option rom of an enabled vga device.
Find the vga device with legacy range decoding enabled. This should
allow multiple vga cards in the same machine to work properly.
Diffstat (limited to 'src/optionroms.c')
-rw-r--r-- | src/optionroms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optionroms.c b/src/optionroms.c index 1d47c1e5..93c19593 100644 --- a/src/optionroms.c +++ b/src/optionroms.c @@ -416,7 +416,7 @@ vga_setup() init_optionrom((void*)OPTION_ROM_START, 0, 1); } else { // Find and deploy PCI VGA rom. - int bdf = VGAbdf = pci_find_class(PCI_CLASS_DISPLAY_VGA); + int bdf = VGAbdf = pci_find_vga(); if (bdf >= 0) init_pcirom(bdf, 1); |