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
nexedi
linux
Commits
0496c524
Commit
0496c524
authored
Aug 08, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Fix logic bug.
Silly thinko caught by Nicolai Haehnle
parent
3e4db160
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+2
-2
No files found.
drivers/char/agp/generic.c
View file @
0496c524
...
@@ -459,9 +459,9 @@ static void agp_v3_parse_one(u32 *mode, u32 *cmd, u32 *tmp)
...
@@ -459,9 +459,9 @@ static void agp_v3_parse_one(u32 *mode, u32 *cmd, u32 *tmp)
/* Clear out unwanted bits. */
/* Clear out unwanted bits. */
if
(
*
cmd
&
AGPSTAT3_8X
)
if
(
*
cmd
&
AGPSTAT3_8X
)
*
cmd
=
~
(
AGPSTAT3_4X
|
AGPSTAT3_RSVD
);
*
cmd
&
=
~
(
AGPSTAT3_4X
|
AGPSTAT3_RSVD
);
if
(
*
cmd
&
AGPSTAT3_4X
)
if
(
*
cmd
&
AGPSTAT3_4X
)
*
cmd
=
~
(
AGPSTAT3_8X
|
AGPSTAT3_RSVD
);
*
cmd
&
=
~
(
AGPSTAT3_8X
|
AGPSTAT3_RSVD
);
}
}
//FIXME: This doesn't smell right.
//FIXME: This doesn't smell right.
...
...
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