[coreboot] Patch set updated for coreboot: 6709bdd Fix multipleVGA cards resource conflict on Windows

ron minnich rminnich at gmail.com
Mon Dec 19 06:06:42 CET 2011


> +               /* It isn't safe to enable multiple VGA cards.
> +                * Windows will report resource conflict when more than one
> +                * VGA-compatible legacy graphic card in the system.
> +                */
> +#if CONFIG_VGA_BRIDGE_SETUP == 1
> +               extern device_t vga_pri;
> +               if (((dev->class >> 16) == PCI_BASE_CLASS_DISPLAY) &&
> +                       (dev != vga_pri)) {
> +                       if (((vga_pri->class >> 8) == PCI_CLASS_DISPLAY_VGA) &&
> +                               ((dev->class >> 8) == PCI_CLASS_DISPLAY_VGA)) {
> +                               dev->command &= ~(PCI_COMMAND_IO | PCI_COMMAND_MEMORY);
> +                       }
> +               }
> +#endif

What do Linux or *BSD do in the same situation? Do they handle it cleanly?

thanks

ron




More information about the coreboot mailing list