]> err.no Git - linux-2.6/commitdiff
[PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix
authorJordan, William P <William.Jordan@unisys.com>
Tue, 22 Nov 2005 06:51:57 +0000 (22:51 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Jan 2006 20:13:16 +0000 (12:13 -0800)
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>
drivers/pci/hotplug/ibmphp_pci.c

index b1ba429e0a2ddca4aa84cb99a2533d47dbda2e0f..155133fe5c123959b705b41140f30a9d7cc559f2 100644 (file)
@@ -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;
                }