printk(KERN_INFO "XGIfb: Video ROM usage disabled\n");
}
XGIhw_ext.pjCustomizedROMImage = NULL;
- XGIhw_ext.bSkipDramSizing = 0;
XGIhw_ext.pQueryVGAConfigSpace = &XGIfb_query_VGA_config_space;
/* XGIhw_ext.pQueryNorthBridgeSpace = &XGIfb_query_north_bridge_space; */
strcpy(XGIhw_ext.szVBIOSVer, "0.84");
/* unsigned long j, k; */
- struct XGI_DSReg *pSR;
-
unsigned long Temp;
pVBInfo->ROMAddr = HwDeviceExtension->pjVirtualRomBase;
XGINew_SetDRAMDefaultRegister340(HwDeviceExtension, pVBInfo->P3d4, pVBInfo);
- if (HwDeviceExtension->bSkipDramSizing == 1) {
- pSR = HwDeviceExtension->pSR;
- if (pSR != NULL) {
- while (pSR->jIdx != 0xFF) {
- XGINew_SetReg1(pVBInfo->P3c4, pSR->jIdx, pSR->jVal);
- pSR++;
- }
- }
- /* XGINew_SetDRAMModeRegister340(pVBInfo); */
- } /* SkipDramSizing */
- else {
- {
- printk("20");
- XGINew_SetDRAMSize_340(HwDeviceExtension, pVBInfo);
- }
- printk("21");
-
- }
+ printk("20");
+ XGINew_SetDRAMSize_340(HwDeviceExtension, pVBInfo);
+ printk("21");
} /* XG40 */
printk("22");
unsigned char bIntegratedMMEnabled;/* supporting integration MM enable */
- unsigned char bSkipDramSizing; /* True: Skip video memory sizing. */
-
unsigned char bSkipSense;
unsigned char bIsPowerSaving; /* True: XGIInit() is invoked by power management,