]> xenbits.xensource.com Git - people/ssmith/netchannel2-pvops.git/commitdiff
xen/pci: clean up Kconfig a bit
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 9 Feb 2009 20:05:55 +0000 (12:05 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 19 Jun 2009 19:11:22 +0000 (12:11 -0700)
Cut down on the maze of PCI-related config options.

[ Impact: Kconfig cleanup ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
arch/x86/Kconfig
arch/x86/xen/Kconfig

index 0533a2eb50eab5e2eae92f572ba93a21fba15a8c..36d3a493f4c17c2c1119b5362f17732ba83aecb7 100644 (file)
@@ -1883,8 +1883,8 @@ config PCI_OLPC
        depends on PCI && OLPC && (PCI_GOOLPC || PCI_GOANY)
 
 config PCI_XEN
-       def_bool y
-       depends on XEN_PCI_PASSTHROUGH || XEN_DOM0_PCI
+       bool
+       select SWIOTLB
 
 config PCI_DOMAINS
        def_bool y
index b83e119fbeb0d29a832d68d67409ae72bb3a7400..298170e18bbc6ffb3fb637cd9ebfc9ea86880144 100644 (file)
@@ -36,3 +36,16 @@ config XEN_DEBUG_FS
        help
          Enable statistics output and various tuning options in debugfs.
          Enabling this option may incur a significant performance overhead.
+
+config XEN_DOM0_PCI
+       def_bool y
+       depends on XEN_DOM0 && PCI
+       select PCI_XEN
+
+config XEN_PCI_PASSTHROUGH
+       bool #"Enable support for Xen PCI passthrough devices"
+       depends on XEN && PCI
+       select PCI_XEN
+       help
+         Enable support for passing PCI devices through to
+        unprivileged domains. (COMPLETELY UNTESTED)