diff options
| author | Bjorn Helgaas <bjorn_helgaas@hp.com> | 2003-01-05 23:14:53 -0800 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2003-01-05 23:14:53 -0800 |
| commit | 9845ed271e7cfa87fec946e971081c662f105e68 (patch) | |
| tree | 8177f87169ea51bff4ee5966e12ed84cf061b144 | |
| parent | 10d43ec6d2fca1c3b55ea80d9cfe18107897929b (diff) | |
[PATCH] 440GX AGP update
I don't have a 440GX to test here, but I think the patch below is likely
to fix the problem.
I see some other issues in intel-agp.c. I'll send those separately since
the diff is a little larger and should affect only i810 and i830.
| -rw-r--r-- | drivers/char/agp/generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index f45e9f2d5c41..835f241a0443 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c @@ -157,7 +157,7 @@ agp_memory *agp_allocate_memory(size_t page_count, u32 type) agp_free_memory(new); return NULL; } - new->memory[i] = virt_to_phys((void *) new->memory[i]); + new->memory[i] = virt_to_phys(addr); new->page_count++; } |
