summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/ibmphp_pci.c
diff options
context:
space:
mode:
authorJordan, William P <William.Jordan@unisys.com>2005-11-22 07:51:57 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-09 21:13:16 +0100
commit88d69a1dff4014889782ebad24ed3e964a8844bc (patch)
tree972dec765a33cf04b9446d04d6fd23e4490e5c72 /drivers/pci/hotplug/ibmphp_pci.c
parent[PATCH] PCIE: make bus_id for PCI Express devices unique (diff)
downloadlinux-88d69a1dff4014889782ebad24ed3e964a8844bc.tar.xz
linux-88d69a1dff4014889782ebad24ed3e964a8844bc.zip
[PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix
I noticed what appears to be a cut/paste error in drivers/pci/hotplug/ibmphp_pci.c: Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_pci.c')
-rw-r--r--drivers/pci/hotplug/ibmphp_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/ibmphp_pci.c b/drivers/pci/hotplug/ibmphp_pci.c
index b1ba429e0a2d..155133fe5c12 100644
--- a/drivers/pci/hotplug/ibmphp_pci.c
+++ b/drivers/pci/hotplug/ibmphp_pci.c
@@ -969,7 +969,7 @@ static int configure_bridge (struct pci_func **func_passed, u8 slotno)
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;
}