Commit 97ef7a05 authored by Jung-Ik Lee's avatar Jung-Ik Lee Committed by David Mosberger

[PATCH] ia64: PCI hotplug changes for 2.5.39 or later

The following patch fixes ia64 kernel dump on Hot-Add of PCI bridge cards.

pcibios_fixup_bus();
pci_do_scan_bus();
on Hot-Add of bridge adapter;
parent 9a6310a6
...@@ -141,13 +141,13 @@ pcibios_scan_root (int bus) ...@@ -141,13 +141,13 @@ pcibios_scan_root (int bus)
/* /*
* Called after each bus is probed, but before its children are examined. * Called after each bus is probed, but before its children are examined.
*/ */
void __init void __devinit
pcibios_fixup_bus (struct pci_bus *b) pcibios_fixup_bus (struct pci_bus *b)
{ {
return; return;
} }
void __init void __devinit
pcibios_update_resource (struct pci_dev *dev, struct resource *root, pcibios_update_resource (struct pci_dev *dev, struct resource *root,
struct resource *res, int resource) struct resource *res, int resource)
{ {
...@@ -163,7 +163,7 @@ pcibios_update_resource (struct pci_dev *dev, struct resource *root, ...@@ -163,7 +163,7 @@ pcibios_update_resource (struct pci_dev *dev, struct resource *root,
/* ??? FIXME -- record old value for shutdown. */ /* ??? FIXME -- record old value for shutdown. */
} }
void __init void __devinit
pcibios_update_irq (struct pci_dev *dev, int irq) pcibios_update_irq (struct pci_dev *dev, int irq)
{ {
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
...@@ -171,7 +171,7 @@ pcibios_update_irq (struct pci_dev *dev, int irq) ...@@ -171,7 +171,7 @@ pcibios_update_irq (struct pci_dev *dev, int irq)
/* ??? FIXME -- record old value for shutdown. */ /* ??? FIXME -- record old value for shutdown. */
} }
void __init void __devinit
pcibios_fixup_pbus_ranges (struct pci_bus * bus, struct pbus_set_ranges_data * ranges) pcibios_fixup_pbus_ranges (struct pci_bus * bus, struct pbus_set_ranges_data * ranges)
{ {
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment