> +               /* 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

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to