Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48647
b: refs/heads/master
c: e4ac5e4
h: refs/heads/master
i:
  48645: d1775d1
  48643: 1b56171
  48639: 547d7c1
v: v3
  • Loading branch information
Dave Jones committed Feb 4, 2007
1 parent c837e3c commit ca21198
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 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: a030ce4477baa06dd9c037ccd3c8d171aac9ed44
refs/heads/master: e4ac5e4f55f55b16e084a46b1b8e233f490ba701
14 changes: 8 additions & 6 deletions trunk/drivers/char/agp/intel-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,15 @@ static int intel_i810_configure(void)

current_size = A_SIZE_FIX(agp_bridge->current_size);

pci_read_config_dword(intel_i810_private.i810_dev, I810_MMADDR, &temp);
temp &= 0xfff80000;

intel_i810_private.registers = ioremap(temp, 128 * 4096);
if (!intel_i810_private.registers) {
printk(KERN_ERR PFX "Unable to remap memory.\n");
return -ENOMEM;
pci_read_config_dword(intel_i810_private.i810_dev, I810_MMADDR, &temp);
temp &= 0xfff80000;

intel_i810_private.registers = ioremap(temp, 128 * 4096);
if (!intel_i810_private.registers) {
printk(KERN_ERR PFX "Unable to remap memory.\n");
return -ENOMEM;
}
}

if ((readl(intel_i810_private.registers+I810_DRAM_CTL)
Expand Down

0 comments on commit ca21198

Please sign in to comment.