Messages in this thread Patch in this message | | | Date | Wed, 5 Jan 2005 09:35:15 +0000 | From | Adam Mercer <> | Subject | Re: 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) { | |