[PATCH] pci hotplug: Fix cut/paste error

From: Jordan, William P
Date: Tue Nov 22 2005 - 11:01:00 EST


From: William Jordan <william.jordan@xxxxxxxxxx>

Fixed code which checked the wrong PCI config register.
Against linux-2.6.15-rc1

Signed-off-by: William Jordan <william.jordan@xxxxxxxxxx>
---

--- linux-2.6.15-rc1/drivers/pci/hotplug/ibmphp_pci.c.orig
2005-11-22 10:14:30.000000000 -0500
+++ linux-2.6.15-rc1/drivers/pci/hotplug/ibmphp_pci.c 2005-11-22
10:15:05.000000000 -0500
@@ -969,7 +969,7 @@ static int configure_bridge (struct pci_
debug ("io 32\n");
need_io_upper = TRUE;
}
- if ((io_base & PCI_PREF_RANGE_TYPE_MASK) ==
PCI_PREF_RANGE_TYPE_64) {
+ if ((pfmem_base & PCI_PREF_RANGE_TYPE_MASK) ==
PCI_PREF_RANGE_TYPE_64) {
debug ("pfmem 64\n");
need_pfmem_upper = TRUE;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/