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
8e73e526
Commit
8e73e526
authored
Apr 25, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Remove unused ALi enums.
parent
fa4e5733
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
19 deletions
+5
-19
drivers/char/agp/ali-agp.c
drivers/char/agp/ali-agp.c
+5
-11
include/linux/agp_backend.h
include/linux/agp_backend.h
+0
-8
No files found.
drivers/char/agp/ali-agp.c
View file @
8e73e526
...
@@ -233,42 +233,34 @@ struct agp_device_ids ali_agp_device_ids[] __initdata =
...
@@ -233,42 +233,34 @@ struct agp_device_ids ali_agp_device_ids[] __initdata =
},
},
{
{
.
device_id
=
PCI_DEVICE_ID_AL_M1621
,
.
device_id
=
PCI_DEVICE_ID_AL_M1621
,
.
chipset
=
ALI_M1621
,
.
chipset_name
=
"M1621"
,
.
chipset_name
=
"M1621"
,
},
},
{
{
.
device_id
=
PCI_DEVICE_ID_AL_M1631
,
.
device_id
=
PCI_DEVICE_ID_AL_M1631
,
.
chipset
=
ALI_M1631
,
.
chipset_name
=
"M1631"
,
.
chipset_name
=
"M1631"
,
},
},
{
{
.
device_id
=
PCI_DEVICE_ID_AL_M1632
,
.
device_id
=
PCI_DEVICE_ID_AL_M1632
,
.
chipset
=
ALI_M1632
,
.
chipset_name
=
"M1632"
,
.
chipset_name
=
"M1632"
,
},
},
{
{
.
device_id
=
PCI_DEVICE_ID_AL_M1641
,
.
device_id
=
PCI_DEVICE_ID_AL_M1641
,
.
chipset
=
ALI_M1641
,
.
chipset_name
=
"M1641"
,
.
chipset_name
=
"M1641"
,
},
},
{
{
.
device_id
=
PCI_DEVICE_ID_AL_M1644
,
.
device_id
=
PCI_DEVICE_ID_AL_M1644
,
.
chipset
=
ALI_M1644
,
.
chipset_name
=
"M1644"
,
.
chipset_name
=
"M1644"
,
},
},
{
{
.
device_id
=
PCI_DEVICE_ID_AL_M1647
,
.
device_id
=
PCI_DEVICE_ID_AL_M1647
,
.
chipset
=
ALI_M1647
,
.
chipset_name
=
"M1647"
,
.
chipset_name
=
"M1647"
,
},
},
{
{
.
device_id
=
PCI_DEVICE_ID_AL_M1651
,
.
device_id
=
PCI_DEVICE_ID_AL_M1651
,
.
chipset
=
ALI_M1651
,
.
chipset_name
=
"M1651"
,
.
chipset_name
=
"M1651"
,
},
},
{
{
.
device_id
=
PCI_DEVICE_ID_AL_M1671
,
.
device_id
=
PCI_DEVICE_ID_AL_M1671
,
.
chipset
=
ALI_M1671
,
.
chipset_name
=
"M1671"
,
.
chipset_name
=
"M1671"
,
},
},
{
},
/* dummy final entry, always present */
{
},
/* dummy final entry, always present */
...
@@ -311,9 +303,11 @@ static int __init agp_lookup_host_bridge (struct pci_dev *pdev)
...
@@ -311,9 +303,11 @@ static int __init agp_lookup_host_bridge (struct pci_dev *pdev)
}
}
}
}
printk
(
KERN_INFO
PFX
"Detected ALi %s chipset
\n
"
,
printk
(
KERN_INFO
PFX
"Detected ALi %s chipset
\n
"
,
devs
[
j
].
chipset_name
);
devs
[
j
].
chipset_name
);
if
(
devs
[
j
].
chipset
!=
0
)
agp_bridge
->
type
=
devs
[
j
].
chipset
;
agp_bridge
->
type
=
devs
[
j
].
chipset
;
else
agp_bridge
->
type
=
ALI_GENERIC
;
if
(
devs
[
j
].
chipset_setup
!=
NULL
)
if
(
devs
[
j
].
chipset_setup
!=
NULL
)
return
devs
[
j
].
chipset_setup
(
pdev
);
return
devs
[
j
].
chipset_setup
(
pdev
);
...
...
include/linux/agp_backend.h
View file @
8e73e526
...
@@ -47,14 +47,6 @@ enum chipset_type {
...
@@ -47,14 +47,6 @@ enum chipset_type {
AMD_762
,
AMD_762
,
AMD_8151
,
AMD_8151
,
ALI_M1541
,
ALI_M1541
,
ALI_M1621
,
ALI_M1631
,
ALI_M1632
,
ALI_M1641
,
ALI_M1644
,
ALI_M1647
,
ALI_M1651
,
ALI_M1671
,
ALI_GENERIC
,
ALI_GENERIC
,
SVWRKS_HE
,
SVWRKS_HE
,
SVWRKS_LE
,
SVWRKS_LE
,
...
...
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