--=_courier-20333-1042150517-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Hi,
the following patch, which only adds some includes, is needed to
compile AGP support on Alpha. After that, it works fine with my AMD
Irongate chipset and a Radeon 7500 card.
-- Falk
--=_courier-20333-1042150517-0001-2 Content-Type: text/x-patch; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=alpga-agp-includes.patch
diff -Nurp linux-2.5.55/drivers/char/agp/amd-k7-agp.c linux-2.5.55.hacked/drivers/char/agp/amd-k7-agp.c --- linux-2.5.55/drivers/char/agp/amd-k7-agp.c 2003-01-09 05:04:28.000000000 +0100 +++ linux-2.5.55.hacked/drivers/char/agp/amd-k7-agp.c 2003-01-09 22:45:37.000000000 +0100 @@ -6,6 +6,10 @@ #include <linux/pci.h> #include <linux/init.h> #include <linux/agp_backend.h> +#include <linux/gfp.h> +#include <linux/page-flags.h> +#include <linux/mm.h> +#include <asm/io.h> #include "agp.h" static int agp_try_unsupported __initdata = 0; diff -Nurp linux-2.5.55/drivers/char/agp/backend.c linux-2.5.55.hacked/drivers/char/agp/backend.c --- linux-2.5.55/drivers/char/agp/backend.c 2003-01-09 05:04:19.000000000 +0100 +++ linux-2.5.55.hacked/drivers/char/agp/backend.c 2003-01-09 22:48:16.000000000 +0100 @@ -34,6 +34,8 @@ #include <linux/miscdevice.h> #include <linux/pm.h> #include <linux/agp_backend.h> +#include <linux/vmalloc.h> +#include <asm/io.h> #include "agp.h" /* Due to XFree86 brain-damage, we can't go to 1.0 until they diff -Nurp linux-2.5.55/drivers/char/agp/frontend.c linux-2.5.55.hacked/drivers/char/agp/frontend.c --- linux-2.5.55/drivers/char/agp/frontend.c 2003-01-09 05:03:55.000000000 +0100 +++ linux-2.5.55.hacked/drivers/char/agp/frontend.c 2003-01-09 22:40:36.000000000 +0100 @@ -34,7 +34,10 @@ #include <linux/miscdevice.h> #include <linux/agp_backend.h> #include <linux/agpgart.h> +#include <linux/slab.h> +#include <linux/mm.h> #include <asm/uaccess.h> +#include <asm/pgtable.h> #include "agp.h" diff -Nurp linux-2.5.55/drivers/char/agp/generic.c linux-2.5.55.hacked/drivers/char/agp/generic.c --- linux-2.5.55/drivers/char/agp/generic.c 2003-01-09 05:04:00.000000000 +0100 +++ linux-2.5.55.hacked/drivers/char/agp/generic.c 2003-01-09 22:42:20.000000000 +0100 @@ -34,6 +34,8 @@ #include <linux/miscdevice.h> #include <linux/pm.h> #include <linux/agp_backend.h> +#include <linux/vmalloc.h> +#include <asm/io.h> #include "agp.h" __u32 *agp_gatt_table;
--=_courier-20333-1042150517-0001-2--