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
01d8392d
Commit
01d8392d
authored
Dec 21, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Plain Diff
Merge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart
parents
6521e426
add4c230
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.c
+6
-6
drivers/char/agp/via-agp.c
drivers/char/agp/via-agp.c
+7
-2
No files found.
drivers/char/agp/intel-agp.c
View file @
01d8392d
...
...
@@ -1253,12 +1253,6 @@ struct agp_device_ids intel_agp_device_ids[] __initdata =
.
chipset_name
=
"i830M"
,
.
chipset_setup
=
intel_830mp_setup
},
{
.
device_id
=
PCI_DEVICE_ID_INTEL_82845G_HB
,
.
chipset
=
INTEL_I845_G
,
.
chipset_name
=
"i845G"
,
.
chipset_setup
=
intel_830mp_setup
},
{
.
device_id
=
PCI_DEVICE_ID_INTEL_82840_HB
,
.
chipset
=
INTEL_I840
,
...
...
@@ -1271,6 +1265,12 @@ struct agp_device_ids intel_agp_device_ids[] __initdata =
.
chipset_name
=
"i845"
,
.
chipset_setup
=
intel_845_setup
},
{
.
device_id
=
PCI_DEVICE_ID_INTEL_82845G_HB
,
.
chipset
=
INTEL_I845_G
,
.
chipset_name
=
"i845G"
,
.
chipset_setup
=
intel_845_setup
},
{
.
device_id
=
PCI_DEVICE_ID_INTEL_82850_HB
,
.
chipset
=
INTEL_I850
,
...
...
drivers/char/agp/via-agp.c
View file @
01d8392d
...
...
@@ -124,7 +124,7 @@ static int __init via_generic_setup (struct pci_dev *pdev)
return
0
;
}
#ifdef CONFIG_AGP3
/*
* The KT400 does magick to put the AGP bridge compliant with the same
* standards version as the graphics card. If we haven't fallen into
...
...
@@ -137,6 +137,7 @@ static void __init via_kt400_enable(u32 mode)
/* Something weird happened, fall back to 2.0 */
agp_generic_agp_enable
(
mode
);
}
#endif
static
int
__init
via_kt400_setup
(
struct
pci_dev
*
pdev
)
{
...
...
@@ -173,9 +174,13 @@ static int __init via_kt400_setup(struct pci_dev *pdev)
agp_bridge
.
agp_enable
=
agp_generic_agp_enable
;
}
else
{
#ifdef CONFIG_AGP3
/* AGP 3.0 mode */
agp_bridge
.
agp_enable
=
via_kt400_enable
;
#else
printk
(
"AGP: VIA KT400 in AGP3.0 mode support not compiled in.
\n
"
);
return
-
ENODEV
;
#endif
}
return
0
;
}
...
...
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