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
5ca838e1
Commit
5ca838e1
authored
Sep 05, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Fix up missing brackets on defines.
parent
0d0823fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/char/agp/agp.h
drivers/char/agp/agp.h
+1
-1
drivers/char/agp/amd64-agp.c
drivers/char/agp/amd64-agp.c
+5
-5
No files found.
drivers/char/agp/agp.h
View file @
5ca838e1
...
...
@@ -302,7 +302,7 @@ struct agp_bridge_data {
#define AMD64_GARTAPERTUREBASE 0x94
#define AMD64_GARTTABLEBASE 0x98
#define AMD64_GARTCACHECTL 0x9c
#define AMD64_GARTEN
1<<0
#define AMD64_GARTEN
(1<<0)
/* ALi registers */
#define ALI_AGPCTRL 0xb8
...
...
drivers/char/agp/amd64-agp.c
View file @
5ca838e1
...
...
@@ -26,13 +26,13 @@
#define GPTE_COHERENT 2
/* Aperture control register bits. */
#define GARTEN
1<<0
#define DISGARTCPU
1<<4
#define DISGARTIO
1<<5
#define GARTEN
(1<<0)
#define DISGARTCPU
(1<<4)
#define DISGARTIO
(1<<5)
/* GART cache control register bits. */
#define INVGART
1<<0
#define GARTPTEERR
1<<1
#define INVGART
(1<<0)
#define GARTPTEERR
(1<<1)
static
int
nr_garts
;
static
struct
pci_dev
*
hammers
[
MAX_HAMMER_GARTS
];
...
...
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