* [PATCH 1 of 2] PCI Hotplug Config.in fix
@ 2002-04-18 20:43 Greg KH
2002-04-18 20:44 ` [PATCH 2 of 2] IBM PCI Hotplug fix Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Greg KH @ 2002-04-18 20:43 UTC (permalink / raw)
To: marcelo; +Cc: linux-kernel
Hi,
Here's a patch against 2.4.19-pre7 that fixes the pci hotplug Config.in
file so as to not build the IBM PCI Hotplug driver unless
CONFIG_X86_IO_APIC is enabled.
thanks,
greg k-h
diff -Nru a/drivers/hotplug/Config.in b/drivers/hotplug/Config.in
--- a/drivers/hotplug/Config.in Thu Apr 18 09:15:02 2002
+++ b/drivers/hotplug/Config.in Thu Apr 18 09:15:02 2002
@@ -8,7 +8,9 @@
dep_tristate ' Compaq PCI Hotplug driver' CONFIG_HOTPLUG_PCI_COMPAQ $CONFIG_HOTPLUG_PCI $CONFIG_X86
dep_mbool ' Save configuration into NVRAM on Compaq servers' CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM $CONFIG_HOTPLUG_PCI_COMPAQ
-dep_tristate ' IBM PCI Hotplug driver' CONFIG_HOTPLUG_PCI_IBM $CONFIG_HOTPLUG_PCI $CONFIG_X86_IO_APIC $CONFIG_X86
+if [ "$CONFIG_X86_IO_APIC" = "y" ]; then
+ dep_tristate ' IBM PCI Hotplug driver' CONFIG_HOTPLUG_PCI_IBM $CONFIG_HOTPLUG_PCI $CONFIG_X86_IO_APIC $CONFIG_X86
+fi
dep_tristate ' ACPI PCI Hotplug driver' CONFIG_HOTPLUG_PCI_ACPI $CONFIG_ACPI $CONFIG_HOTPLUG_PCI
endmenu
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2 of 2] IBM PCI Hotplug fix
2002-04-18 20:43 [PATCH 1 of 2] PCI Hotplug Config.in fix Greg KH
@ 2002-04-18 20:44 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2002-04-18 20:44 UTC (permalink / raw)
To: marcelo; +Cc: linux-kernel
Hi,
Here's a patch against 2.4.19-pre7 that allows the IBM PCI Hotplug
driver to be built into the kernel properly.
thanks,
greg k-h
diff -Nru a/drivers/hotplug/ibmphp_core.c b/drivers/hotplug/ibmphp_core.c
--- a/drivers/hotplug/ibmphp_core.c Thu Apr 18 09:15:05 2002
+++ b/drivers/hotplug/ibmphp_core.c Thu Apr 18 09:15:05 2002
@@ -56,7 +56,7 @@
MODULE_DESCRIPTION (DRIVER_DESC);
static int *ops[MAX_OPS + 1];
-static struct pci_ops *ibmphp_pci_root_ops;
+struct pci_ops *ibmphp_pci_root_ops;
static int max_slots;
static int irqs[16]; /* PIC mode IRQ's we're using so far (in case MPS tables don't provide default info for empty slots */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-18 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18 20:43 [PATCH 1 of 2] PCI Hotplug Config.in fix Greg KH
2002-04-18 20:44 ` [PATCH 2 of 2] IBM PCI Hotplug fix Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox