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
11b4295e
Commit
11b4295e
authored
Jul 03, 2003
by
Dave Jones
Committed by
Dave Jones
Jul 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Fill out bridge structure with pdev before querying agp version.
parent
15ddfa3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/char/agp/via-agp.c
drivers/char/agp/via-agp.c
+1
-1
No files found.
drivers/char/agp/via-agp.c
View file @
11b4295e
...
...
@@ -398,7 +398,6 @@ static int __init agp_via_probe(struct pci_dev *pdev,
if
(
!
bridge
)
return
-
ENOMEM
;
get_agp_version
(
bridge
);
bridge
->
dev
=
pdev
;
bridge
->
capndx
=
cap_ptr
;
bridge
->
driver
=
&
via_driver
;
...
...
@@ -415,6 +414,7 @@ static int __init agp_via_probe(struct pci_dev *pdev,
}
/* If this is an AGP3 bridge, check which mode its in and adjust. */
get_agp_version
(
bridge
);
if
(
bridge
->
major_version
>=
3
)
check_via_agp3
(
bridge
);
...
...
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