On Wed, Jan 31, 2007 at 05:35:21PM -0600, Roman Kononov wrote:
This patch makes sure that VGA is initialized before it is used. Additionally, VGA will be initialized if either CONFIG_PCI_ROM_RUN=1 or CONFIG_CONSOLE_VGA=1.
Index: src/devices/pci_device.c =================================================================== --- src/devices/pci_device.c (revision 2539) +++ src/devices/pci_device.c (working copy) @@ -633,7 +633,7 @@ void pci_dev_set_subsystem(device_t dev,
void pci_dev_init(struct device *dev) { -#if CONFIG_PCI_ROM_RUN == 1 +#if CONFIG_PCI_ROM_RUN == 1 || CONFIG_CONSOLE_VGA=1 struct rom_header *rom, *ram;
rom = pci_rom_probe(dev);
One or two = ? Which is it?
//Peter