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
b41c82eb
Commit
b41c82eb
authored
Feb 20, 2006
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Add some informational printk to nforce GART failure path.
Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
cf5e4022
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/char/agp/amd64-agp.c
drivers/char/agp/amd64-agp.c
+4
-2
No files found.
drivers/char/agp/amd64-agp.c
View file @
b41c82eb
...
@@ -516,8 +516,10 @@ static int __devinit nforce3_agp_init(struct pci_dev *pdev)
...
@@ -516,8 +516,10 @@ static int __devinit nforce3_agp_init(struct pci_dev *pdev)
pci_read_config_dword
(
hammers
[
0
],
AMD64_GARTAPERTUREBASE
,
&
apbase
);
pci_read_config_dword
(
hammers
[
0
],
AMD64_GARTAPERTUREBASE
,
&
apbase
);
/* if x86-64 aperture base is beyond 4G, exit here */
/* if x86-64 aperture base is beyond 4G, exit here */
if
(
(
apbase
&
0x7fff
)
>>
(
32
-
25
)
)
if
(
(
apbase
&
0x7fff
)
>>
(
32
-
25
)
)
{
printk
(
KERN_INFO
PFX
"aperture base > 4G
\n
"
);
return
-
ENODEV
;
return
-
ENODEV
;
}
apbase
=
(
apbase
&
0x7fff
)
<<
25
;
apbase
=
(
apbase
&
0x7fff
)
<<
25
;
...
...
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