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