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
7598a3cf
Commit
7598a3cf
authored
May 10, 2003
by
Dave Jones
Committed by
Dave Jones
May 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] death of generic-3.0.c = folded into generic.c
parent
6fe3bc99
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
23 deletions
+10
-23
drivers/char/agp/Makefile
drivers/char/agp/Makefile
+1
-1
drivers/char/agp/generic-3.0.c
drivers/char/agp/generic-3.0.c
+0
-20
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+9
-2
No files found.
drivers/char/agp/Makefile
View file @
7598a3cf
agpgart-y
:=
backend.o frontend.o generic.o
generic-3.0.o
isoch.o
agpgart-y
:=
backend.o frontend.o generic.o isoch.o
obj-$(CONFIG_AGP)
+=
agpgart.o
obj-$(CONFIG_AGP_ALI)
+=
ali-agp.o
...
...
drivers/char/agp/generic-3.0.c
deleted
100644 → 0
View file @
6fe3bc99
/*
* Generic routines for AGP 3.0 compliant bridges.
*/
#include <linux/list.h>
#include <linux/pci.h>
#include <linux/agp_backend.h>
#include <linux/module.h>
#include "agp.h"
/*
* Fully configure and enable an AGP 3.0 host bridge and all the devices
* lying behind it.
*/
int
agp_3_0_enable
(
struct
agp_bridge_data
*
bridge
,
u32
mode
)
{
return
0
;
}
drivers/char/agp/generic.c
View file @
7598a3cf
...
...
@@ -461,6 +461,12 @@ void get_agp_version(struct agp_bridge_data *bridge)
EXPORT_SYMBOL
(
get_agp_version
);
static
int
agp_3_0_enable
(
struct
agp_bridge_data
*
bridge
,
u32
mode
)
{
return
0
;
}
void
agp_generic_enable
(
u32
mode
)
{
u32
command
;
...
...
@@ -476,8 +482,8 @@ void agp_generic_enable(u32 mode)
pci_read_config_dword
(
agp_bridge
->
dev
,
agp_bridge
->
capndx
+
0x4
,
&
agp_3_0
);
/* Check to see if we are operating in 3.0 mode */
if
((
agp_3_0
>>
3
)
&
0x1
)
{
if
(
agp_bridge
->
minor_version
>=
5
)
agp_3_
5
_enable
(
agp_bridge
,
mode
);
if
(
agp_bridge
->
minor_version
<
5
)
agp_3_
0
_enable
(
agp_bridge
,
mode
);
else
agp_3_5_enable
(
agp_bridge
,
mode
);
return
;
...
...
@@ -849,6 +855,7 @@ void agp_enable(u32 mode)
}
EXPORT_SYMBOL
(
agp_enable
);
#ifdef CONFIG_SMP
static
void
ipi_handler
(
void
*
null
)
{
...
...
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