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
c21c1ae1
Commit
c21c1ae1
authored
Apr 25, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Remove unneeded settings of bridge->type.
It's now done in the static structs.
parent
04b5428c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.c
+0
-6
No files found.
drivers/char/agp/intel-agp.c
View file @
c21c1ae1
...
...
@@ -1314,17 +1314,14 @@ 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_GENERIC
;
name
=
"440LX"
;
break
;
case
PCI_DEVICE_ID_INTEL_82443BX_0
:
bridge
=
&
intel_generic_bridge
;
bridge
->
type
=
INTEL_GENERIC
;
name
=
"440BX"
;
break
;
case
PCI_DEVICE_ID_INTEL_82443GX_0
:
bridge
=
&
intel_generic_bridge
;
bridge
->
type
=
INTEL_GENERIC
;
name
=
"440GX"
;
break
;
case
PCI_DEVICE_ID_INTEL_82810_MC1
:
...
...
@@ -1382,7 +1379,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
bridge
=
&
intel_830_bridge
;
}
else
{
bridge
=
&
intel_845_bridge
;
bridge
->
type
=
INTEL_GENERIC
;
}
name
=
"845G"
;
break
;
...
...
@@ -1396,7 +1392,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
name
=
"855"
;
}
else
{
bridge
=
&
intel_845_bridge
;
bridge
->
type
=
INTEL_GENERIC
;
name
=
"855PM"
;
}
break
;
...
...
@@ -1409,7 +1404,6 @@ static int __init agp_intel_probe(struct pci_dev *pdev,
bridge
=
&
intel_830_bridge
;
}
else
{
bridge
=
&
intel_845_bridge
;
bridge
->
type
=
INTEL_GENERIC
;
}
name
=
"865"
;
break
;
...
...
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