Commit 62945310 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI Hotplug: move drivers/hotplug/* to drivers/pci/hotplug/*

  
This will let include/linux/pci.h get smaller, and is what I should 
have done in the first place 2 years ago...
parent 97c76453
...@@ -1135,7 +1135,7 @@ config HOTPLUG ...@@ -1135,7 +1135,7 @@ config HOTPLUG
source "drivers/pcmcia/Kconfig" source "drivers/pcmcia/Kconfig"
source "drivers/hotplug/Kconfig" source "drivers/pci/hotplug/Kconfig"
endmenu endmenu
......
...@@ -563,7 +563,7 @@ config HOTPLUG ...@@ -563,7 +563,7 @@ config HOTPLUG
agent" (/sbin/hotplug) to load modules and set up software needed agent" (/sbin/hotplug) to load modules and set up software needed
to use devices as you hotplug them. to use devices as you hotplug them.
source "drivers/hotplug/Kconfig" source "drivers/pci/hotplug/Kconfig"
source "drivers/pcmcia/Kconfig" source "drivers/pcmcia/Kconfig"
......
...@@ -488,7 +488,7 @@ config HOTPLUG ...@@ -488,7 +488,7 @@ config HOTPLUG
source "drivers/pcmcia/Kconfig" source "drivers/pcmcia/Kconfig"
source "drivers/hotplug/Kconfig" source "drivers/pci/hotplug/Kconfig"
endmenu endmenu
......
...@@ -234,7 +234,7 @@ config HOTPLUG ...@@ -234,7 +234,7 @@ config HOTPLUG
source "drivers/pcmcia/Kconfig" source "drivers/pcmcia/Kconfig"
source "drivers/hotplug/Kconfig" source "drivers/pci/hotplug/Kconfig"
config PROC_DEVICETREE config PROC_DEVICETREE
bool "Support for Open Firmware device tree in /proc" bool "Support for Open Firmware device tree in /proc"
......
...@@ -230,7 +230,7 @@ config HOTPLUG ...@@ -230,7 +230,7 @@ config HOTPLUG
source "drivers/pcmcia/Kconfig" source "drivers/pcmcia/Kconfig"
source "drivers/hotplug/Kconfig" source "drivers/pci/hotplug/Kconfig"
endmenu endmenu
......
...@@ -351,7 +351,7 @@ config HOTPLUG ...@@ -351,7 +351,7 @@ config HOTPLUG
source "drivers/pcmcia/Kconfig" source "drivers/pcmcia/Kconfig"
source "drivers/hotplug/Kconfig" source "drivers/pci/hotplug/Kconfig"
endmenu endmenu
......
...@@ -46,7 +46,6 @@ obj-$(CONFIG_I2C) += i2c/ ...@@ -46,7 +46,6 @@ obj-$(CONFIG_I2C) += i2c/
obj-$(CONFIG_PHONE) += telephony/ obj-$(CONFIG_PHONE) += telephony/
obj-$(CONFIG_MD) += md/ obj-$(CONFIG_MD) += md/
obj-$(CONFIG_BT) += bluetooth/ obj-$(CONFIG_BT) += bluetooth/
obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
obj-$(CONFIG_ISDN_BOOL) += isdn/ obj-$(CONFIG_ISDN_BOOL) += isdn/
obj-$(CONFIG_MCA) += mca/ obj-$(CONFIG_MCA) += mca/
obj-$(CONFIG_EISA) += eisa/ obj-$(CONFIG_EISA) += eisa/
......
...@@ -12,6 +12,9 @@ ifndef CONFIG_SPARC64 ...@@ -12,6 +12,9 @@ ifndef CONFIG_SPARC64
obj-$(CONFIG_PCI) += setup-res.o obj-$(CONFIG_PCI) += setup-res.o
endif endif
# Build the PCI Hotplug drivers if we were asked to
obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
# #
# Some architectures use the generic PCI setup functions # Some architectures use the generic PCI setup functions
# #
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include "cpqphp.h" #include "cpqphp.h"
#include "cpqphp_nvram.h" #include "cpqphp_nvram.h"
#include "../../arch/i386/pci/pci.h" /* horrible hack showing how processor dependent we are... */ #include "../../../arch/i386/pci/pci.h" /* horrible hack showing how processor dependent we are... */
/* Global variables */ /* Global variables */
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include "cpqphp.h" #include "cpqphp.h"
#include "cpqphp_nvram.h" #include "cpqphp_nvram.h"
#include "../../arch/i386/pci/pci.h" /* horrible hack showing how processor dependent we are... */ #include "../../../arch/i386/pci/pci.h" /* horrible hack showing how processor dependent we are... */
u8 cpqhp_nic_irq; u8 cpqhp_nic_irq;
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
#include "../../arch/i386/pci/pci.h" /* for struct irq_routing_table */ #include "../../../arch/i386/pci/pci.h" /* for struct irq_routing_table */
#include "ibmphp.h" #include "ibmphp.h"
#define attn_on(sl) ibmphp_hpc_writeslot (sl, HPC_SLOT_ATTNON) #define attn_on(sl) ibmphp_hpc_writeslot (sl, HPC_SLOT_ATTNON)
......
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