Commit 2fa72d28 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[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.
parent b83290ea
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment