Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304265
b: refs/heads/master
c: 9a801f2
h: refs/heads/master
i:
  304263: 4e3a94a
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 364fcd3 commit 0a9341f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 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: 30b768161564891a5109db1520bfc954ca2b3649
refs/heads/master: 9a801f252a1695d85da53845daf6e21671bf72ed
2 changes: 1 addition & 1 deletion trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
xgifb_info->display2_force = true;
}

XGIRegInit(&xgifb_info->dev_info, (unsigned long)hw_info->pjIOAddress);
XGIRegInit(&xgifb_info->dev_info, xgifb_info->vga_base);

xgifb_reg_set(XGISR, IND_SIS_PASSWORD, SIS_PASSWORD);
reg1 = xgifb_reg_get(XGISR, IND_SIS_PASSWORD);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ unsigned char XGIInitNew(struct pci_dev *pdev)

pVBInfo->FBAddr = HwDeviceExtension->pjVideoMemoryAddress;

pVBInfo->BaseAddr = (unsigned long) HwDeviceExtension->pjIOAddress;
pVBInfo->BaseAddr = xgifb_info->vga_base;

/* Newdebugcode(0x99); */

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -7387,7 +7387,7 @@ unsigned char XGISetModeNew(struct xgifb_video_info *xgifb_info,
unsigned short ModeIdIndex;
struct vb_device_info VBINF;
struct vb_device_info *pVBInfo = &VBINF;
pVBInfo->BaseAddr = (unsigned long) HwDeviceExtension->pjIOAddress;
pVBInfo->BaseAddr = xgifb_info->vga_base;
pVBInfo->IF_DEF_LVDS = 0;
pVBInfo->IF_DEF_LCDA = 1;

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 @@ -66,8 +66,6 @@ struct xgi_hw_device_info {
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 jChipType; /* Used to Identify Graphics Chip */
/* defined in the data structure type */
/* "XGI_CHIP_TYPE" */
Expand Down

0 comments on commit 0a9341f

Please sign in to comment.