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
fa4e5733
Commit
fa4e5733
authored
Apr 25, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Remove unneeded enums from intel gart driver.
parent
5d83644a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
29 deletions
+14
-29
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.c
+14
-14
include/linux/agp_backend.h
include/linux/agp_backend.h
+0
-15
No files found.
drivers/char/agp/intel-agp.c
View file @
fa4e5733
...
...
@@ -998,7 +998,7 @@ struct agp_bridge_data intel_generic_bridge = {
};
struct
agp_bridge_data
intel_810_bridge
=
{
.
type
=
INTEL_
I810
,
.
type
=
INTEL_
GENERIC
,
.
masks
=
intel_i810_masks
,
.
aperture_sizes
=
(
void
*
)
intel_i810_sizes
,
.
size_type
=
FIXED_APER_SIZE
,
...
...
@@ -1051,7 +1051,7 @@ struct agp_bridge_data intel_815_bridge = {
};
struct
agp_bridge_data
intel_830_bridge
=
{
.
type
=
INTEL_
I810
,
.
type
=
INTEL_
GENERIC
,
.
masks
=
intel_i810_masks
,
.
aperture_sizes
=
(
void
*
)
intel_i830_sizes
,
.
size_type
=
FIXED_APER_SIZE
,
...
...
@@ -1079,7 +1079,7 @@ struct agp_bridge_data intel_830_bridge = {
struct
agp_bridge_data
intel_820_bridge
=
{
.
type
=
INTEL_
I820
,
.
type
=
INTEL_
GENERIC
,
.
masks
=
intel_generic_masks
,
.
aperture_sizes
=
(
void
*
)
intel_8xx_sizes
,
.
size_type
=
U8_APER_SIZE
,
...
...
@@ -1104,7 +1104,7 @@ struct agp_bridge_data intel_820_bridge = {
};
struct
agp_bridge_data
intel_830mp_bridge
=
{
.
type
=
INTEL_
I830_M
,
.
type
=
INTEL_
GENERIC
,
.
masks
=
intel_generic_masks
,
.
aperture_sizes
=
(
void
*
)
intel_830mp_sizes
,
.
size_type
=
U8_APER_SIZE
,
...
...
@@ -1153,7 +1153,7 @@ struct agp_bridge_data intel_840_bridge = {
};
struct
agp_bridge_data
intel_845_bridge
=
{
.
type
=
INTEL_
I845
,
.
type
=
INTEL_
GENERIC
,
.
masks
=
intel_generic_masks
,
.
aperture_sizes
=
(
void
*
)
intel_8xx_sizes
,
.
size_type
=
U8_APER_SIZE
,
...
...
@@ -1178,7 +1178,7 @@ struct agp_bridge_data intel_845_bridge = {
};
struct
agp_bridge_data
intel_850_bridge
=
{
.
type
=
INTEL_
I850
,
.
type
=
INTEL_
GENERIC
,
.
masks
=
intel_generic_masks
,
.
aperture_sizes
=
(
void
*
)
intel_8xx_sizes
,
.
size_type
=
U8_APER_SIZE
,
...
...
@@ -1203,7 +1203,7 @@ struct agp_bridge_data intel_850_bridge = {
};
struct
agp_bridge_data
intel_860_bridge
=
{
.
type
=
INTEL_
I860
,
.
type
=
INTEL_
GENERIC
,
.
masks
=
intel_generic_masks
,
.
aperture_sizes
=
(
void
*
)
intel_8xx_sizes
,
.
size_type
=
U8_APER_SIZE
,
...
...
@@ -1228,7 +1228,7 @@ struct agp_bridge_data intel_860_bridge = {
};
struct
agp_bridge_data
intel_7505_bridge
=
{
.
type
=
INTEL_
E7505
,
.
type
=
INTEL_
GENERIC
,
.
masks
=
intel_generic_masks
,
.
aperture_sizes
=
(
void
*
)
intel_8xx_sizes
,
.
size_type
=
U8_APER_SIZE
,
...
...
@@ -1303,17 +1303,17 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
switch
(
pdev
->
device
)
{
case
PCI_DEVICE_ID_INTEL_82443LX_0
:
bridge
=
&
intel_generic_bridge
;
bridge
->
type
=
INTEL_
LX
;
bridge
->
type
=
INTEL_
GENERIC
;
name
=
"440LX"
;
break
;
case
PCI_DEVICE_ID_INTEL_82443BX_0
:
bridge
=
&
intel_generic_bridge
;
bridge
->
type
=
INTEL_
BX
;
bridge
->
type
=
INTEL_
GENERIC
;
name
=
"440BX"
;
break
;
case
PCI_DEVICE_ID_INTEL_82443GX_0
:
bridge
=
&
intel_generic_bridge
;
bridge
->
type
=
INTEL_G
X
;
bridge
->
type
=
INTEL_G
ENERIC
;
name
=
"440GX"
;
break
;
case
PCI_DEVICE_ID_INTEL_82810_MC1
:
...
...
@@ -1371,7 +1371,7 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
bridge
=
&
intel_830_bridge
;
}
else
{
bridge
=
&
intel_845_bridge
;
bridge
->
type
=
INTEL_
I845_G
;
bridge
->
type
=
INTEL_
GENERIC
;
}
name
=
"845G"
;
break
;
...
...
@@ -1385,7 +1385,7 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
name
=
"855"
;
}
else
{
bridge
=
&
intel_845_bridge
;
bridge
->
type
=
INTEL_
I855_PM
;
bridge
->
type
=
INTEL_
GENERIC
;
name
=
"855PM"
;
}
break
;
...
...
@@ -1398,7 +1398,7 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
bridge
=
&
intel_830_bridge
;
}
else
{
bridge
=
&
intel_845_bridge
;
bridge
->
type
=
INTEL_
I865_G
;
bridge
->
type
=
INTEL_
GENERIC
;
}
name
=
"865"
;
break
;
...
...
include/linux/agp_backend.h
View file @
fa4e5733
...
...
@@ -38,22 +38,7 @@
enum
chipset_type
{
NOT_SUPPORTED
,
INTEL_GENERIC
,
INTEL_LX
,
INTEL_BX
,
INTEL_GX
,
INTEL_I810
,
INTEL_I815
,
INTEL_I820
,
INTEL_I830_M
,
INTEL_I845_G
,
INTEL_I855_PM
,
INTEL_I865_G
,
INTEL_I840
,
INTEL_I845
,
INTEL_I850
,
INTEL_I860
,
INTEL_460GX
,
INTEL_E7505
,
VIA_GENERIC
,
SIS_GENERIC
,
AMD_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