rom_map.patch revision 1353
1353N/A--- a/src/mga_dacG.c Mon Feb 11 14:59:08 2013
1353N/A+++ b/src/mga_dacG.c Mon Feb 11 15:00:39 2013
1353N/A@@ -1051,6 +1051,19 @@
1353N/A
1353N/A if (pMga->HasSDRAM)
1353N/A pReg->Option = 0x40049120;
1353N/A+ else {
1353N/A+ /*
1353N/A+ * Do not reset biosen bit of option reg, as this will set
1353N/A+ * ROM base register to 0
1353N/A+ */
1353N/A+ CARD32 option = 0;
1353N/A+#ifdef XSERVER_LIBPCIACCESS
1353N/A+ pci_device_cfg_read_u32(pMga->PciInfo, & option, PCI_OPTION_REG);
1353N/A+#else
1353N/A+ option = pciReadLong(pMga->PciTag, PCI_OPTION_REG);
1353N/A+#endif
1353N/A+ pReg->Option = (pReg->Option & 0xFBFFFFFF) | (option & 0x40000000);
1353N/A+ }
1353N/A pReg->Option2 = 0x00008000;
1353N/A break;
1353N/A