Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236357
b: refs/heads/master
c: 66c2458
h: refs/heads/master
i:
  236355: 6e936d5
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Mar 10, 2011
1 parent dc0d057 commit ac0e48d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 34 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: 3259bb5a1384c58935f8d95f1dbbab7f51b17e25
refs/heads/master: 66c2458c7943c29a2221896c213ec1d244c64ded
4 changes: 0 additions & 4 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -2287,7 +2287,6 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
break;
}

XGIhw_ext.pDevice = NULL;
if ((xgi_video_info.chip == XG21) || (XGIfb_userom)) {
XGIhw_ext.pjVirtualRomBase = xgifb_copy_rom(pdev);
if (XGIhw_ext.pjVirtualRomBase)
Expand All @@ -2298,10 +2297,7 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
XGIhw_ext.pjVirtualRomBase = NULL;
printk(KERN_INFO "XGIfb: Video ROM usage disabled\n");
}
XGIhw_ext.pjCustomizedROMImage = NULL;
XGIhw_ext.pQueryVGAConfigSpace = &XGIfb_query_VGA_config_space;
/* XGIhw_ext.pQueryNorthBridgeSpace = &XGIfb_query_north_bridge_space; */
strcpy(XGIhw_ext.szVBIOSVer, "0.84");

if (!XGIvga_enabled) {
/* Mapping Max FB Size for 315 Init */
Expand Down
29 changes: 0 additions & 29 deletions trunk/drivers/staging/xgifb/vgatypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

#include <linux/ioctl.h>

#ifndef VBIOS_VER_MAX_LENGTH
#define VBIOS_VER_MAX_LENGTH 5
#endif

#ifndef XGI_VB_CHIP_TYPE
enum XGI_VB_CHIP_TYPE {
VB_CHIP_Legacy = 0,
Expand Down Expand Up @@ -65,23 +61,13 @@ struct xgi_hw_device_info

unsigned char *pjVirtualRomBase; /* ROM image */

unsigned char UseROM; /* Use the ROM image if provided */

void *pDevice;

unsigned char *pjVideoMemoryAddress;/* base virtual memory address */
/* of Linear VGA memory */

unsigned long ulVideoMemorySize; /* size, in bytes, of the memory on the board */

unsigned char *pjIOAddress; /* base I/O address of VGA ports (0x3B0) */

unsigned char *pjCustomizedROMImage;

unsigned char *pj2ndVideoMemoryAddress;
unsigned long ul2ndVideoMemorySize;

unsigned char *pj2ndIOAddress;
unsigned char jChipType; /* Used to Identify Graphics Chip */
/* defined in the data structure type */
/* "XGI_CHIP_TYPE" */
Expand All @@ -92,30 +78,15 @@ struct xgi_hw_device_info
/* defined in the data structure type */
/* "XGI_VB_CHIP_TYPE" */

unsigned char bNewScratch;

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

unsigned long usExternalChip; /* NO VB or other video bridge (other than */
/* video bridge) */

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

unsigned char bSkipSense;

unsigned char bIsPowerSaving; /* True: XGIInit() is invoked by power management,
otherwise by 2nd adapter's initialzation */

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

unsigned char(*pQueryNorthBridgeSpace)(struct xgi_hw_device_info *,
unsigned long, unsigned long,
unsigned long *);

unsigned char szVBIOSVer[VBIOS_VER_MAX_LENGTH];

};

/* Addtional IOCTL for communication xgifb <> X driver */
Expand Down

0 comments on commit ac0e48d

Please sign in to comment.