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
7568a4da
Commit
7568a4da
authored
Jun 04, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Report fixing of errata, and add missing printk stuff (\n's, KERN_INFO, PFX)
parent
015498d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/char/agp/amd-k8-agp.c
drivers/char/agp/amd-k8-agp.c
+2
-1
No files found.
drivers/char/agp/amd-k8-agp.c
View file @
7568a4da
...
@@ -278,12 +278,13 @@ static int __init agp_amdk8_probe(struct pci_dev *pdev,
...
@@ -278,12 +278,13 @@ static int __init agp_amdk8_probe(struct pci_dev *pdev,
default:
revstring
=
"??"
;
default:
revstring
=
"??"
;
break
;
break
;
}
}
printk
(
"Detected AMD 8151 AGP Bridge rev %s
"
,
revstring
);
printk
(
KERN_INFO
PFX
"Detected AMD 8151 AGP Bridge rev %s
\n
"
,
revstring
);
/*
/*
* Work around errata.
* Work around errata.
* Chips before B2 stepping incorrectly reporting v3.5
* Chips before B2 stepping incorrectly reporting v3.5
*/
*/
if
(
rev_id
<
0x13
)
{
if
(
rev_id
<
0x13
)
{
printk
(
KERN_INFO
PFX
"Correcting AGP revision (reports 3.5, is really 3.0)
\n
"
);
bridge
->
major_version
=
3
;
bridge
->
major_version
=
3
;
bridge
->
minor_version
=
0
;
bridge
->
minor_version
=
0
;
}
}
...
...
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