From: "Lee, Jung-Ik" <jung-ik.lee@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] PCI hotplug changes for 2.5.39 or later
Date: Fri, 18 Oct 2002 11:10:56 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805194@msgid-missing> (raw)
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)
{
}
reply other threads:[~2002-10-18 11:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590709805194@msgid-missing \
--to=jung-ik.lee@intel.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox