Myles Watson wrote:
On Thu, Oct 29, 2009 at 7:28 PM, Peter Stuge <peter@stuge.se mailto:peter@stuge.se> wrote:
Stefan Reinauer wrote: > CONFIG_PCI_ROM_RUN: Run all option roms
Now it's run all option roms except VGA.
Ouch... when did that change?
> CONFIG_VGA_ROM_RUN: Run only VGA option roms
from src/devices/pci_device.c:
#if CONFIG_PCI_ROM_RUN == 1 || CONFIG_VGA_ROM_RUN == 1 void run_bios(struct device *dev, unsigned long addr); struct rom_header *rom, *ram;
if (CONFIG_PCI_ROM_RUN != 1 && /* Only execute VGA ROMs. */ ((dev->class >> 8) != PCI_CLASS_DISPLAY_VGA)) return; if (CONFIG_VGA_ROM_RUN != 1 && /* Only execute non-VGA ROMs. */ ((dev->class >> 8) == PCI_CLASS_DISPLAY_VGA)) return;
They got separated so that you can turn them off individually.
Would anyone cry if these were renamed?
What would you like to name them?
Then CONFIG_PCI_ROM_RUN should at least be called CONFIG_NONVGA_ROM_RUN or some such.