* [Linux-ia64] PCI hotplug changes for 2.5.39 or later
@ 2002-10-18 11:10 Lee, Jung-Ik
0 siblings, 0 replies; only message in thread
From: Lee, Jung-Ik @ 2002-10-18 11:10 UTC (permalink / raw)
To: linux-ia64
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;
Thanks,
J.I.
======================================
diff -urN linux-2.5.39-ia64-020928/arch/ia64/pci/pci.c
linux-2.5.39-phpv-src/arch/ia64/pci/pci.c
--- linux-2.5.39-ia64-020928/arch/ia64/pci/pci.c Fri Sep 27 14:49:51
2002
+++ linux-2.5.39-phpv-src/arch/ia64/pci/pci.c Fri Oct 18 02:39:00 2002
@@ -141,13 +141,13 @@
/*
* Called after each bus is probed, but before its children are examined.
*/
-void __init
+void __devinit
pcibios_fixup_bus (struct pci_bus *b)
{
return;
}
-void __init
+void __devinit
pcibios_update_resource (struct pci_dev *dev, struct resource *root,
struct resource *res, int resource)
{
@@ -163,7 +163,7 @@
/* ??? FIXME -- record old value for shutdown. */
}
-void __init
+void __devinit
pcibios_update_irq (struct pci_dev *dev, int irq)
{
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
@@ -171,7 +171,7 @@
/* ??? FIXME -- record old value for shutdown. */
}
-void __init
+void __devinit
pcibios_fixup_pbus_ranges (struct pci_bus * bus, struct
pbus_set_ranges_data * ranges)
{
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-18 11:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-18 11:10 [Linux-ia64] PCI hotplug changes for 2.5.39 or later Lee, Jung-Ik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox