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
c307a530
Commit
c307a530
authored
Feb 13, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Plain Diff
Merge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart
parents
8da1973b
c2992f1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.c
+8
-5
No files found.
drivers/char/agp/intel-agp.c
View file @
c307a530
...
@@ -682,6 +682,14 @@ static int intel_815_configure(void)
...
@@ -682,6 +682,14 @@ static int intel_815_configure(void)
u8
temp2
;
u8
temp2
;
struct
aper_size_info_8
*
current_size
;
struct
aper_size_info_8
*
current_size
;
/* attbase - aperture base */
/* the Intel 815 chipset spec. says that bits 29-31 in the
* ATTBASE register are reserved -> try not to write them */
if
(
agp_bridge
->
gatt_bus_addr
&
INTEL_815_ATTBASE_MASK
)
{
printk
(
KERN_EMERG
"gatt bus addr too high"
);
return
-
EINVAL
;
}
current_size
=
A_SIZE_8
(
agp_bridge
->
current_size
);
current_size
=
A_SIZE_8
(
agp_bridge
->
current_size
);
/* aperture size */
/* aperture size */
...
@@ -692,11 +700,6 @@ static int intel_815_configure(void)
...
@@ -692,11 +700,6 @@ static int intel_815_configure(void)
pci_read_config_dword
(
agp_bridge
->
dev
,
INTEL_APBASE
,
&
temp
);
pci_read_config_dword
(
agp_bridge
->
dev
,
INTEL_APBASE
,
&
temp
);
agp_bridge
->
gart_bus_addr
=
(
temp
&
PCI_BASE_ADDRESS_MEM_MASK
);
agp_bridge
->
gart_bus_addr
=
(
temp
&
PCI_BASE_ADDRESS_MEM_MASK
);
/* attbase - aperture base */
/* the Intel 815 chipset spec. says that bits 29-31 in the
* ATTBASE register are reserved -> try not to write them */
if
(
agp_bridge
->
gatt_bus_addr
&
INTEL_815_ATTBASE_MASK
)
panic
(
"gatt bus addr too high"
);
pci_read_config_dword
(
agp_bridge
->
dev
,
INTEL_ATTBASE
,
&
addr
);
pci_read_config_dword
(
agp_bridge
->
dev
,
INTEL_ATTBASE
,
&
addr
);
addr
&=
INTEL_815_ATTBASE_MASK
;
addr
&=
INTEL_815_ATTBASE_MASK
;
addr
|=
agp_bridge
->
gatt_bus_addr
;
addr
|=
agp_bridge
->
gatt_bus_addr
;
...
...
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