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
f5897273
Commit
f5897273
authored
Aug 29, 2003
by
Dave Jones
Committed by
Dave Jones
Aug 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Fix missed AGP_APBASE conversion in VIA AGP driver.
parent
d4a6feb5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/char/agp/via-agp.c
drivers/char/agp/via-agp.c
+2
-2
No files found.
drivers/char/agp/via-agp.c
View file @
f5897273
...
...
@@ -39,7 +39,7 @@ static int via_configure(void)
pci_write_config_byte
(
agp_bridge
->
dev
,
VIA_APSIZE
,
current_size
->
size_value
);
/* address to map too */
pci_read_config_dword
(
agp_bridge
->
dev
,
VIA
_APBASE
,
&
temp
);
pci_read_config_dword
(
agp_bridge
->
dev
,
AGP
_APBASE
,
&
temp
);
agp_bridge
->
gart_bus_addr
=
(
temp
&
PCI_BASE_ADDRESS_MEM_MASK
);
/* GART control register */
...
...
@@ -114,7 +114,7 @@ static int via_configure_agp3(void)
current_size
=
A_SIZE_16
(
agp_bridge
->
current_size
);
/* address to map too */
pci_read_config_dword
(
agp_bridge
->
dev
,
VIA
_APBASE
,
&
temp
);
pci_read_config_dword
(
agp_bridge
->
dev
,
AGP
_APBASE
,
&
temp
);
agp_bridge
->
gart_bus_addr
=
(
temp
&
PCI_BASE_ADDRESS_MEM_MASK
);
/* attbase - aperture GATT base */
...
...
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