Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236117
b: refs/heads/master
c: 7bc5e83
h: refs/heads/master
i:
  236115: 1a8c84b
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Feb 23, 2011
1 parent 7eca0c0 commit c4949c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da1545c0f2e5be5702ca37ad6fcddb3fa0d5094e
refs/heads/master: 7bc5e8374f22c46e6326ab219c45e75867dc9acd
1 change: 0 additions & 1 deletion trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -3014,7 +3014,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
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");
Expand Down
23 changes: 3 additions & 20 deletions trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension)

/* unsigned long j, k; */

struct XGI_DSReg *pSR;

unsigned long Temp;

pVBInfo->ROMAddr = HwDeviceExtension->pjVirtualRomBase;
Expand Down Expand Up @@ -427,24 +425,9 @@ unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension)

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");
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/xgifb/vgatypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ struct xgi_hw_device_info

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,
Expand Down

0 comments on commit c4949c9

Please sign in to comment.