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
2cc1a413
Commit
2cc1a413
authored
Sep 28, 2006
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] printk fixups.
Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
7357db12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+6
-3
No files found.
drivers/char/agp/generic.c
View file @
2cc1a413
...
...
@@ -581,18 +581,21 @@ static void agp_v3_parse_one(u32 *requested_mode, u32 *bridge_agpstat, u32 *vga_
* If not, we fall back to x4 mode.
*/
if
((
*
bridge_agpstat
&
AGPSTAT3_8X
)
&&
(
*
vga_agpstat
&
AGPSTAT3_8X
))
{
printk
(
KERN_INFO
PFX
"No AGP mode specified. Setting to highest mode supported by bridge & card (x8).
\n
"
);
printk
(
KERN_INFO
PFX
"No AGP mode specified. Setting to highest mode "
"supported by bridge & card (x8).
\n
"
);
*
bridge_agpstat
&=
~
(
AGPSTAT3_4X
|
AGPSTAT3_RSVD
);
*
vga_agpstat
&=
~
(
AGPSTAT3_4X
|
AGPSTAT3_RSVD
);
}
else
{
printk
(
KERN_INFO
PFX
"Fell back to AGPx4 mode because"
);
if
(
!
(
*
bridge_agpstat
&
AGPSTAT3_8X
))
{
printk
(
"bridge couldn't do x8. bridge_agpstat:%x (orig=%x)
\n
"
,
*
bridge_agpstat
,
origbridge
);
printk
(
KERN_INFO
PFX
"bridge couldn't do x8. bridge_agpstat:%x (orig=%x)
\n
"
,
*
bridge_agpstat
,
origbridge
);
*
bridge_agpstat
&=
~
(
AGPSTAT3_8X
|
AGPSTAT3_RSVD
);
*
bridge_agpstat
|=
AGPSTAT3_4X
;
}
if
(
!
(
*
vga_agpstat
&
AGPSTAT3_8X
))
{
printk
(
"graphics card couldn't do x8. vga_agpstat:%x (orig=%x)
\n
"
,
*
vga_agpstat
,
origvga
);
printk
(
KERN_INFO
PFX
"graphics card couldn't do x8. vga_agpstat:%x (orig=%x)
\n
"
,
*
vga_agpstat
,
origvga
);
*
vga_agpstat
&=
~
(
AGPSTAT3_8X
|
AGPSTAT3_RSVD
);
*
vga_agpstat
|=
AGPSTAT3_4X
;
}
...
...
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