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
6fe1cef6
Commit
6fe1cef6
authored
Jan 05, 2004
by
Dave Jones
Committed by
Dave Jones
Jan 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] printk level changes for amd64
parent
93bc467d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/char/agp/amd64-agp.c
drivers/char/agp/amd64-agp.c
+3
-3
No files found.
drivers/char/agp/amd64-agp.c
View file @
6fe1cef6
...
@@ -347,10 +347,10 @@ static __devinit int cache_nbs (struct pci_dev *pdev, u32 cap_ptr)
...
@@ -347,10 +347,10 @@ static __devinit int cache_nbs (struct pci_dev *pdev, u32 cap_ptr)
while
((
loop_dev
=
pci_find_device
(
PCI_VENDOR_ID_AMD
,
0x1103
,
loop_dev
))
while
((
loop_dev
=
pci_find_device
(
PCI_VENDOR_ID_AMD
,
0x1103
,
loop_dev
))
!=
NULL
)
{
!=
NULL
)
{
if
(
fix_northbridge
(
loop_dev
,
pdev
,
cap_ptr
)
<
0
)
{
if
(
fix_northbridge
(
loop_dev
,
pdev
,
cap_ptr
)
<
0
)
{
printk
(
KERN_
INFO
PFX
"No usable aperture found.
\n
"
);
printk
(
KERN_
ERR
PFX
"No usable aperture found.
\n
"
);
#ifdef __x86_64__
#ifdef __x86_64__
/* should port this to i386 */
/* should port this to i386 */
printk
(
KERN_
INFO
PFX
"Consider rebooting with iommu=memaper=2 to get a good aperture.
\n
"
);
printk
(
KERN_
ERR
PFX
"Consider rebooting with iommu=memaper=2 to get a good aperture.
\n
"
);
#endif
#endif
return
-
1
;
return
-
1
;
}
}
...
@@ -358,7 +358,7 @@ static __devinit int cache_nbs (struct pci_dev *pdev, u32 cap_ptr)
...
@@ -358,7 +358,7 @@ static __devinit int cache_nbs (struct pci_dev *pdev, u32 cap_ptr)
nr_garts
=
i
;
nr_garts
=
i
;
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
if
(
i
>
MAX_HAMMER_GARTS
)
{
if
(
i
>
MAX_HAMMER_GARTS
)
{
printk
(
KERN_
INFO
PFX
"Too many northbridges for AGP
\n
"
);
printk
(
KERN_
ERR
PFX
"Too many northbridges for AGP
\n
"
);
return
-
1
;
return
-
1
;
}
}
#else
#else
...
...
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