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
e544a3bd
Commit
e544a3bd
authored
Apr 25, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Remove unneeded enums from AMD k7 gart driver
parent
8b8ae328
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
drivers/char/agp/amd-k7-agp.c
drivers/char/agp/amd-k7-agp.c
+1
-4
include/linux/agp_backend.h
include/linux/agp_backend.h
+0
-3
No files found.
drivers/char/agp/amd-k7-agp.c
View file @
e544a3bd
...
...
@@ -388,17 +388,14 @@ struct agp_device_ids amd_agp_device_ids[] __initdata =
{
{
.
device_id
=
PCI_DEVICE_ID_AMD_FE_GATE_7006
,
.
chipset
=
AMD_IRONGATE
,
.
chipset_name
=
"Irongate"
,
},
{
.
device_id
=
PCI_DEVICE_ID_AMD_FE_GATE_700E
,
.
chipset
=
AMD_761
,
.
chipset_name
=
"761"
,
},
{
.
device_id
=
PCI_DEVICE_ID_AMD_FE_GATE_700C
,
.
chipset
=
AMD_762
,
.
chipset_name
=
"760MP"
,
},
{
},
/* dummy final entry, always present */
...
...
@@ -416,7 +413,7 @@ static int __init agp_lookup_host_bridge (struct pci_dev *pdev)
while
(
devs
[
j
].
chipset_name
!=
NULL
)
{
if
(
pdev
->
device
==
devs
[
j
].
device_id
)
{
printk
(
KERN_INFO
PFX
"Detected AMD %s chipset
\n
"
,
devs
[
j
].
chipset_name
);
agp_bridge
->
type
=
devs
[
j
].
chipset
;
agp_bridge
->
type
=
AMD_GENERIC
;
if
(
devs
[
j
].
chipset_setup
!=
NULL
)
return
devs
[
j
].
chipset_setup
(
pdev
);
...
...
include/linux/agp_backend.h
View file @
e544a3bd
...
...
@@ -42,9 +42,6 @@ enum chipset_type {
VIA_GENERIC
,
SIS_GENERIC
,
AMD_GENERIC
,
AMD_IRONGATE
,
AMD_761
,
AMD_762
,
AMD_8151
,
ALI_M1541
,
ALI_GENERIC
,
...
...
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