diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2011-09-29 07:05:58 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-09-29 10:52:16 -0400 |
commit | 5fbdc10395cd500d6ff844825a918c4e6f38de37 (patch) | |
tree | 4c8c1d066ba9176de2c6ffb11d77efd2c3190ff0 /drivers | |
parent | b17d0b5c0824b6a6f143a6587fa7d47abe006ab4 (diff) |
xen: remove XEN_PLATFORM_PCI config option
Xen PVHVM needs xen-platform-pci, on the other hand xen-platform-pci is
useless in any other cases.
Therefore remove the XEN_PLATFORM_PCI config option and compile
xen-platform-pci built-in if XEN_PVHVM is selected.
Changes to v1:
- remove xen-platform-pci.o and just use platform-pci.o since it is not
externally visible anymore.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/xen/Kconfig | 10 | ||||
-rw-r--r-- | drivers/xen/Makefile | 4 |
2 files changed, 1 insertions, 13 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index 5f7ff8e2fc14..8795480c2350 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig | |||
@@ -137,16 +137,6 @@ config XEN_GRANT_DEV_ALLOC | |||
137 | to other domains. This can be used to implement frontend drivers | 137 | to other domains. This can be used to implement frontend drivers |
138 | or as part of an inter-domain shared memory channel. | 138 | or as part of an inter-domain shared memory channel. |
139 | 139 | ||
140 | config XEN_PLATFORM_PCI | ||
141 | tristate "xen platform pci device driver" | ||
142 | depends on XEN_PVHVM && PCI | ||
143 | default m | ||
144 | help | ||
145 | Driver for the Xen PCI Platform device: it is responsible for | ||
146 | initializing xenbus and grant_table when running in a Xen HVM | ||
147 | domain. As a consequence this driver is required to run any Xen PV | ||
148 | frontend on Xen HVM. | ||
149 | |||
150 | config SWIOTLB_XEN | 140 | config SWIOTLB_XEN |
151 | def_bool y | 141 | def_bool y |
152 | depends on PCI | 142 | depends on PCI |
diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile index 72bbb27d7a68..974fffdf22b2 100644 --- a/drivers/xen/Makefile +++ b/drivers/xen/Makefile | |||
@@ -14,7 +14,7 @@ obj-$(CONFIG_XEN_GNTDEV) += xen-gntdev.o | |||
14 | obj-$(CONFIG_XEN_GRANT_DEV_ALLOC) += xen-gntalloc.o | 14 | obj-$(CONFIG_XEN_GRANT_DEV_ALLOC) += xen-gntalloc.o |
15 | obj-$(CONFIG_XENFS) += xenfs/ | 15 | obj-$(CONFIG_XENFS) += xenfs/ |
16 | obj-$(CONFIG_XEN_SYS_HYPERVISOR) += sys-hypervisor.o | 16 | obj-$(CONFIG_XEN_SYS_HYPERVISOR) += sys-hypervisor.o |
17 | obj-$(CONFIG_XEN_PLATFORM_PCI) += xen-platform-pci.o | 17 | obj-$(CONFIG_XEN_PVHVM) += platform-pci.o |
18 | obj-$(CONFIG_XEN_TMEM) += tmem.o | 18 | obj-$(CONFIG_XEN_TMEM) += tmem.o |
19 | obj-$(CONFIG_SWIOTLB_XEN) += swiotlb-xen.o | 19 | obj-$(CONFIG_SWIOTLB_XEN) += swiotlb-xen.o |
20 | obj-$(CONFIG_XEN_DOM0) += pci.o | 20 | obj-$(CONFIG_XEN_DOM0) += pci.o |
@@ -23,5 +23,3 @@ obj-$(CONFIG_XEN_PCIDEV_BACKEND) += xen-pciback/ | |||
23 | xen-evtchn-y := evtchn.o | 23 | xen-evtchn-y := evtchn.o |
24 | xen-gntdev-y := gntdev.o | 24 | xen-gntdev-y := gntdev.o |
25 | xen-gntalloc-y := gntalloc.o | 25 | xen-gntalloc-y := gntalloc.o |
26 | |||
27 | xen-platform-pci-y := platform-pci.o | ||