All of lore.kernel.org
 help / color / mirror / Atom feed
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: linux-kernel@vger.kernel.org
Cc: davej@codemonkey.org.uk, Bjorn Helgaas <bjorn_helgaas@hp.com>,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Subject: [2.5.55] [PATCH] AGP: missing includes on Alpha
Date: 09 Jan 2003 23:12:36 +0100	[thread overview]
Message-ID: <87k7hegegb.fsf@student.uni-tuebingen.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: alpga-agp-includes.patch --]
[-- Type: text/x-patch, Size: 2007 bytes --]

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; 

                 reply	other threads:[~2003-01-09 22:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k7hegegb.fsf@student.uni-tuebingen.de \
    --to=falk.hueffner@student.uni-tuebingen.de \
    --cc=bjorn_helgaas@hp.com \
    --cc=davej@codemonkey.org.uk \
    --cc=ink@jurassic.park.msu.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.