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
2a642a81
Commit
2a642a81
authored
Feb 22, 2005
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Make agp=off boot param work for Intel AGP drivers.
Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
07de993e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.c
+2
-0
drivers/char/agp/intel-mch-agp.c
drivers/char/agp/intel-mch-agp.c
+2
-0
No files found.
drivers/char/agp/intel-agp.c
View file @
2a642a81
...
...
@@ -1810,6 +1810,8 @@ static struct pci_driver agp_intel_pci_driver = {
static
int
__init
agp_intel_init
(
void
)
{
if
(
agp_off
)
return
-
EINVAL
;
return
pci_module_init
(
&
agp_intel_pci_driver
);
}
...
...
drivers/char/agp/intel-mch-agp.c
View file @
2a642a81
...
...
@@ -622,6 +622,8 @@ static struct pci_driver agp_intelmch_pci_driver = {
int
__init
agp_intelmch_init
(
void
)
{
static
int
agp_initialised
=
0
;
if
(
agp_off
)
return
-
EINVAL
;
if
(
agp_initialised
==
1
)
return
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