Commit:     9ef2241b18266d75319e7d66156243bd9010be44
Parent:     bfceafc5979d9055e04f03f970de6ff7a4bce1b6
Author:     Gary Hade <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 5 11:10:47 2007 -0700
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Wed Jul 11 16:02:13 2007 -0700

    PCI: hotplug: acpiphp: remove hot plug parameter write to PCI host bridge
    acpiphp is writing hot plug parameters to the PCI host bridge
    PCI config space.  This patch removes the incorrect operation.
    Signed-off-by: Gary Hade <[EMAIL PROTECTED]>
    Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/pci/hotplug/acpiphp_glue.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/hotplug/acpiphp_glue.c 
index 3cc5a82..72ec4a2 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
@@ -1368,6 +1368,9 @@ static void program_hpp(struct pci_dev *dev, struct 
acpiphp_bridge *bridge)
                        (dev->class >> 8) == PCI_CLASS_BRIDGE_PCI)))
+       if ((dev->class >> 8) == PCI_CLASS_BRIDGE_HOST)
+               return;
        pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE,
        pci_write_config_byte(dev, PCI_LATENCY_TIMER,
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to