Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236359
b: refs/heads/master
c: dbbc298
h: refs/heads/master
i:
  236357: ac0e48d
  236355: 6e936d5
  236351: 697f60a
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Mar 10, 2011
1 parent d902454 commit f5cdeed
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 20 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: 600a710b8bb414903a8b7c28e22ca03a60b8191f
refs/heads/master: dbbc2989a78872922601791983762c207a60f38c
14 changes: 0 additions & 14 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -2273,20 +2273,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
printk("XGIfb:chipid = %x\n", xgi_video_info.chip);
XGIhw_ext.jChipType = xgi_video_info.chip;

switch (xgi_video_info.chip) {
case XG40:
case XG41:
case XG42:
case XG45:
case XG20:
case XG21:
case XG27:
XGIhw_ext.bIntegratedMMEnabled = 1;
break;
default:
break;
}

if ((xgi_video_info.chip == XG21) || (XGIfb_userom)) {
XGIhw_ext.pjVirtualRomBase = xgifb_copy_rom(pdev);
if (XGIhw_ext.pjVirtualRomBase)
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension)
pVBInfo->ISXPDOS = 0;
printk("3");

if (!HwDeviceExtension->bIntegratedMMEnabled)
return 0; /* alan */

printk("4");

/* VBIOSVersion[4] = 0x0; */
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 @@ -80,8 +80,6 @@ struct xgi_hw_device_info

unsigned long ulCRT2LCDType; /* defined in the data structure type */

unsigned char bIntegratedMMEnabled;/* supporting integration MM enable */

unsigned char(*pQueryVGAConfigSpace)(struct xgi_hw_device_info *,
unsigned long, unsigned long,
unsigned long *);
Expand Down

0 comments on commit f5cdeed

Please sign in to comment.