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
1b47caf5
Commit
1b47caf5
authored
May 20, 2003
by
Dave Jones
Committed by
Dave Jones
May 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] agp_3_5_enable() doesn't need mode parameter.
parent
a17cf3c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
drivers/char/agp/agp.h
drivers/char/agp/agp.h
+1
-2
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+1
-1
drivers/char/agp/isoch.c
drivers/char/agp/isoch.c
+1
-1
No files found.
drivers/char/agp/agp.h
View file @
1b47caf5
...
...
@@ -386,8 +386,7 @@ void agp_free_key(int key);
int
agp_num_entries
(
void
);
u32
agp_collect_device_status
(
u32
mode
,
u32
command
);
void
agp_device_command
(
u32
command
,
int
agp_v3
);
int
agp_3_0_enable
(
struct
agp_bridge_data
*
bridge
,
u32
mode
);
int
agp_3_5_enable
(
struct
agp_bridge_data
*
bridge
,
u32
mode
);
int
agp_3_5_enable
(
struct
agp_bridge_data
*
bridge
);
void
global_cache_flush
(
void
);
void
get_agp_version
(
struct
agp_bridge_data
*
bridge
);
unsigned
long
agp_generic_mask_memory
(
unsigned
long
addr
,
int
type
);
...
...
drivers/char/agp/generic.c
View file @
1b47caf5
...
...
@@ -539,7 +539,7 @@ void agp_generic_enable(u32 mode)
if
(
agp3
&
AGPSTAT_MODE_3_0
)
{
/* If we have 3.5, we can do the isoch stuff. */
if
(
agp_bridge
->
minor_version
>=
5
)
agp_3_5_enable
(
agp_bridge
,
mode
);
agp_3_5_enable
(
agp_bridge
);
agp_device_command
(
command
,
TRUE
);
return
;
}
else
{
...
...
drivers/char/agp/isoch.c
View file @
1b47caf5
...
...
@@ -314,7 +314,7 @@ static void agp_3_5_nonisochronous_node_enable(struct agp_bridge_data *bridge,
* Fully configure and enable an AGP 3.0 host bridge and all the devices
* lying behind it.
*/
int
agp_3_5_enable
(
struct
agp_bridge_data
*
bridge
,
u32
mode
)
int
agp_3_5_enable
(
struct
agp_bridge_data
*
bridge
)
{
struct
pci_dev
*
td
=
bridge
->
dev
,
*
dev
;
u8
mcapndx
;
...
...
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