Skip to contentSkip to conversation

ACPI PCI Hotplug driver update for 2.4.19-rc2-ac2

PATCH New Greg KH 2 participants 3 messages Jul 19, 2002 – Jul 26, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Greg KH

author
#1 lore raw

PATCH 1/1 ACPI PCI Hotplug driver update for 2.4.19-rc2-ac2

Note: This was previously sent to Alan Cox with the patch inline, but didn't make it to the mailing lists due to the size of the patch.

Hi,

Here's a patch against 2.4.19-rc2-ac2 that updates the ACPI PCI Hotplug driver to the latest version. This patch was written by Takayoshi KOCHI <[email protected]> and has been tested on some IBM i386, NEC i386, and some unnammed ia64 machines.

thanks,

greg k-h

Patch can be found at:
http://www.kernel.org/pub/linux/kernel/people/gregkh/hotplug/2.4/pci_hp-acpi-2.4.19-rc2-ac2.patch

#2 lore raw
In reply to a message not in the archive

Hi,

My colleague pointed out that the patch was missing this critical patch. Please include this also.

Quoted 4 lines · On Fri, 19 Jul 2002 12:23:13 -0700 Greg KH <[email protected]> wrote:

Here's a patch against 2.4.19-rc2-ac2 that updates the ACPI PCI Hotplug driver to the latest version. This patch was written by Takayoshi KOCHI <[email protected]> and has been tested on some IBM i386, NEC i386, and some unnammed ia64 machines.

Thanks for update, Greg!

drivers/hotplug/acpiphp_glue.c renamed from drivers/hotplug/acpiphp_glue.c.orig +4 -3
@@ -377,12 +377,13 @@
 		if (b->number == bus)
 			return b;
 
-		if (!list_empty(&b->children))
+		if (!list_empty(&b->children)) {
 			/* XXX recursive call */
 			b = find_pci_bus(&b->children, bus);
 
-		if (b)
-			return b;
+			if (b)
+				return b;
+		}
 	}
 
 	return 0;

Thanks,

Signature · 1 line
KOCHI, Takayoshi <[email protected]/[email protected]>
author
#3 lore raw
Quoted 4 lines · Takayoshi

Hi,

My colleague pointed out that the patch was missing this critical patch. Please include this also.

Thanks for the patch, I've added it to my tree.

greg k-h