summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2003-12-12 13:00:43 +0000
committerDave Jones <davej@delerium.codemonkey.org.uk>2003-12-12 13:00:43 +0000
commit2fa72d28f55baa95d7f2f27f38e267cd506ce6d4 (patch)
tree9b8770ecf00c392b8bcaa3418f05c0a763afa28d
parentb83290ea44e269d28fe8791f328153771a6416a7 (diff)
[AGPGART] Remove duplicate programming of AGP command register.
We do this in agp_device_command() which gets called below, so we remove the explicit pci_write_config_dword() Spotted by Bjorn Helgaas.
-rw-r--r--drivers/char/agp/generic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
index eba93610e43b..44ff29d4a039 100644
--- a/drivers/char/agp/generic.c
+++ b/drivers/char/agp/generic.c
@@ -562,9 +562,6 @@ void agp_generic_enable(u32 mode)
command = agp_collect_device_status(mode, command);
command |= AGPSTAT_AGP_ENABLE;
- pci_write_config_dword(agp_bridge->dev,
- agp_bridge->capndx + PCI_AGP_COMMAND, command);
-
/* Do AGP version specific frobbing. */
if(agp_bridge->major_version >= 3) {
pci_read_config_dword(agp_bridge->dev,