PCI: drivers/pci/slot.c should depend on CONFIG_SYSFS
[linux-2.6.git] / drivers / pci / hotplug / Makefile
1 #
2 # Makefile for the Linux kernel pci hotplug controller drivers.
3 #
4
5 obj-$(CONFIG_HOTPLUG_PCI)               += pci_hotplug.o
6 obj-$(CONFIG_HOTPLUG_PCI_COMPAQ)        += cpqphp.o
7 obj-$(CONFIG_HOTPLUG_PCI_IBM)           += ibmphp.o
8
9 # pciehp should be linked before acpiphp in order to allow the native driver
10 # to attempt to bind first. We can then fall back to generic support.
11
12 obj-$(CONFIG_HOTPLUG_PCI_PCIE)          += pciehp.o
13 obj-$(CONFIG_HOTPLUG_PCI_ACPI)          += acpiphp.o
14 obj-$(CONFIG_HOTPLUG_PCI_ACPI_IBM)      += acpiphp_ibm.o
15 obj-$(CONFIG_HOTPLUG_PCI_CPCI_ZT5550)   += cpcihp_zt5550.o
16 obj-$(CONFIG_HOTPLUG_PCI_CPCI_GENERIC)  += cpcihp_generic.o
17 obj-$(CONFIG_HOTPLUG_PCI_SHPC)          += shpchp.o
18 obj-$(CONFIG_HOTPLUG_PCI_RPA)           += rpaphp.o
19 obj-$(CONFIG_HOTPLUG_PCI_RPA_DLPAR)     += rpadlpar_io.o
20 obj-$(CONFIG_HOTPLUG_PCI_SGI)           += sgi_hotplug.o
21
22 # Link this last so it doesn't claim devices that have a real hotplug driver
23 obj-$(CONFIG_HOTPLUG_PCI_FAKE)          += fakephp.o
24
25 pci_hotplug-objs        :=      pci_hotplug_core.o
26
27 ifdef CONFIG_HOTPLUG_PCI_CPCI
28 pci_hotplug-objs        +=      cpci_hotplug_core.o     \
29                                 cpci_hotplug_pci.o
30 endif
31 ifdef CONFIG_ACPI
32 pci_hotplug-objs        +=      acpi_pcihp.o
33 endif
34
35 cpqphp-objs             :=      cpqphp_core.o   \
36                                 cpqphp_ctrl.o   \
37                                 cpqphp_sysfs.o  \
38                                 cpqphp_pci.o
39 cpqphp-$(CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM) += cpqphp_nvram.o
40 cpqphp-objs += $(cpqphp-y)
41
42 ibmphp-objs             :=      ibmphp_core.o   \
43                                 ibmphp_ebda.o   \
44                                 ibmphp_pci.o    \
45                                 ibmphp_res.o    \
46                                 ibmphp_hpc.o
47
48 acpiphp-objs            :=      acpiphp_core.o  \
49                                 acpiphp_glue.o
50
51 rpaphp-objs             :=      rpaphp_core.o   \
52                                 rpaphp_pci.o    \
53                                 rpaphp_slot.o
54
55 rpadlpar_io-objs        :=      rpadlpar_core.o \
56                                 rpadlpar_sysfs.o
57
58 pciehp-objs             :=      pciehp_core.o   \
59                                 pciehp_ctrl.o   \
60                                 pciehp_pci.o    \
61                                 pciehp_hpc.o
62 ifdef CONFIG_ACPI
63 pciehp-objs             +=      pciehp_acpi.o
64 endif
65
66 shpchp-objs             :=      shpchp_core.o   \
67                                 shpchp_ctrl.o   \
68                                 shpchp_pci.o    \
69                                 shpchp_sysfs.o  \
70                                 shpchp_hpc.o