[PATCH] pci hotplug: Fix cut/paste error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: William Jordan <[email protected]>

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

Signed-off-by: William Jordan <[email protected]>
---

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux