lkml.org 
[lkml]   [2005]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.10-ac3 compile failure
On Wed, 05 Jan 2005 11:39:15 +1100, Eyal Lebedinsky <eyal@eyal.emu.id.au> wrote:
> CC [M] drivers/char/agp/intel-agp.o
> drivers/char/agp/intel-agp.c: In function `intel_i915_configure':
> drivers/char/agp/intel-agp.c:640: error: too many arguments to function `writel'
> make[3]: *** [drivers/char/agp/intel-agp.o] Error 1

Applying this patch worked for me

Cheers

Adam
--- drivers/char/agp/intel-agp.c-orig 2005-01-04 19:59:59.000000000 +0000
+++ drivers/char/agp/intel-agp.c 2005-01-04 19:50:56.000000000 +0000
@@ -637,7 +637,7 @@
gmch_ctrl |= I830_GMCH_ENABLED;
pci_write_config_word(agp_bridge->dev,I830_GMCH_CTRL,gmch_ctrl);

- writel(agp_bridge->gatt_bus_addr | I810_PGETBL_ENABLED, intel_i830_private.registers,I810_PGETBL_CTL);
+ writel(agp_bridge->gatt_bus_addr | I810_PGETBL_ENABLED, intel_i830_private.registers+I810_PGETBL_CTL);
readl(intel_i830_private.registers+I810_PGETBL_CTL); /* PCI Posting. */

if (agp_bridge->driver->needs_scratch_page) {
\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.053 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site