Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304264
b: refs/heads/master
c: 30b7681
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 4e3a94a commit 364fcd3
Show file tree
Hide file tree
Showing 3 changed files with 2 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: ef23b21061bb26469646f9ad9f1c6584ca0c5b49
refs/heads/master: 30b768161564891a5109db1520bfc954ca2b3649
5 changes: 1 addition & 4 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ static int XGIfb_mode_rate_to_ddata(struct vb_device_info *XGI_Pr,

static void XGIRegInit(struct vb_device_info *XGI_Pr, unsigned long BaseAddr)
{
XGI_Pr->RelIO = BaseAddr;
XGI_Pr->P3c4 = BaseAddr + 0x14;
XGI_Pr->P3d4 = BaseAddr + 0x24;
XGI_Pr->P3c0 = BaseAddr + 0x10;
Expand Down Expand Up @@ -1911,11 +1910,9 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
xgifb_info->mmio_base = pci_resource_start(pdev, 1);
xgifb_info->mmio_size = pci_resource_len(pdev, 1);
xgifb_info->vga_base = pci_resource_start(pdev, 2) + 0x30;
hw_info->pjIOAddress = (unsigned char *)xgifb_info->vga_base;
/* XGI_Pr.RelIO = ioremap(pci_resource_start(pdev, 2), 128) + 0x30; */
pr_info("Relocate IO address: %lx [%08lx]\n",
(unsigned long)pci_resource_start(pdev, 2),
xgifb_info->dev_info.RelIO);
xgifb_info->vga_base);

if (pci_enable_device(pdev)) {
ret = -EIO;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/xgifb/vb_struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ struct vb_device_info {

void __iomem *FBAddr;
unsigned long BaseAddr;
unsigned long RelIO;

unsigned char (*CR6B)[4];
unsigned char (*CR6E)[4];
Expand Down

0 comments on commit 364fcd3

Please sign in to comment.