Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
12a5d67e
Commit
12a5d67e
authored
May 01, 2003
by
Dave Jones
Committed by
Dave Jones
May 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Move debugging macros to header so they can be used in other parts of agpgart.
parent
0ddeeb01
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
drivers/char/agp/agp.h
drivers/char/agp/agp.h
+9
-2
drivers/char/agp/frontend.c
drivers/char/agp/frontend.c
+0
-8
No files found.
drivers/char/agp/agp.h
View file @
12a5d67e
...
@@ -30,10 +30,17 @@
...
@@ -30,10 +30,17 @@
#include <asm/agp.h>
/* for flush_agp_cache() */
#include <asm/agp.h>
/* for flush_agp_cache() */
extern
struct
agp_bridge_data
*
agp_bridge
;
#define PFX "agpgart: "
#define PFX "agpgart: "
//#define AGP_DEBUG 1
#ifdef AGP_DEBUG
#define DBG(x,y...) printk (KERN_DEBUG PFX ": %s: " x "\n", __FUNCTION__ , ## y)
#else
#define DBG(x,y...) do { } while (0)
#endif
extern
struct
agp_bridge_data
*
agp_bridge
;
enum
aper_size_type
{
enum
aper_size_type
{
U8_APER_SIZE
,
U8_APER_SIZE
,
U16_APER_SIZE
,
U16_APER_SIZE
,
...
...
drivers/char/agp/frontend.c
View file @
12a5d67e
...
@@ -40,14 +40,6 @@
...
@@ -40,14 +40,6 @@
#include <asm/pgtable.h>
#include <asm/pgtable.h>
#include "agp.h"
#include "agp.h"
//#define DEBUG
#ifdef DEBUG
#define DBG(x,y...) printk (KERN_DEBUG "agpgart: %s: " x "\n", __FUNCTION__ , ## y)
#else
#define DBG(x,y...) do { } while (0)
#endif
static
struct
agp_front_data
agp_fe
;
static
struct
agp_front_data
agp_fe
;
static
agp_memory
*
agp_find_mem_by_key
(
int
key
)
static
agp_memory
*
agp_find_mem_by_key
(
int
key
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment