Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13631
b: refs/heads/master
c: 49ebd7c
h: refs/heads/master
i:
  13629: 30ffb9c
  13627: 864f456
  13623: ed9b707
  13615: 437318f
  13599: 54b3995
  13567: 033ad91
v: v3
  • Loading branch information
Andrew Morton authored and Dave Jones committed Nov 8, 2005
1 parent 80b7742 commit 97e74a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 88d51967f56f55a45849efe50858ea7dfa0d38dc
refs/heads/master: 49ebd7c6bb1f70a6c5465925e6ca2f4a32d6a6cd
8 changes: 5 additions & 3 deletions trunk/drivers/char/agp/i460-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ static int i460_fetch_size (void)

if (i460.io_page_shift != I460_IO_PAGE_SHIFT) {
printk(KERN_ERR PFX
"I/O (GART) page-size %ZuKB doesn't match expected size %ZuKB\n",
1UL << (i460.io_page_shift - 10), 1UL << (I460_IO_PAGE_SHIFT));
"I/O (GART) page-size %luKB doesn't match expected "
"size %luKB\n",
1UL << (i460.io_page_shift - 10),
1UL << (I460_IO_PAGE_SHIFT));
return 0;
}

Expand Down Expand Up @@ -539,7 +541,7 @@ static unsigned long i460_mask_memory (struct agp_bridge_data *bridge,
{
/* Make sure the returned address is a valid GATT entry */
return bridge->driver->masks[0].mask
| (((addr & ~((1 << I460_IO_PAGE_SHIFT) - 1)) & 0xffffff000) >> 12);
| (((addr & ~((1 << I460_IO_PAGE_SHIFT) - 1)) & 0xfffff000) >> 12);
}

struct agp_bridge_driver intel_i460_driver = {
Expand Down

0 comments on commit 97e74a6

Please sign in to comment.