2010-07-07 11:12:45 +00:00
|
|
|
From: jbeulich@novell.com
|
|
|
|
Subject: add backward-compatibility configure options
|
|
|
|
Patch-mainline: n/a
|
|
|
|
|
2011-04-19 20:09:59 +00:00
|
|
|
--- head-2011-01-30.orig/drivers/xen/Kconfig 2010-11-26 13:37:36.000000000 +0100
|
|
|
|
+++ head-2011-01-30/drivers/xen/Kconfig 2011-02-03 14:48:57.000000000 +0100
|
|
|
|
@@ -317,6 +317,21 @@ choice
|
2010-07-07 11:12:45 +00:00
|
|
|
config XEN_COMPAT_030100_AND_LATER
|
|
|
|
bool "3.1.0 and later"
|
|
|
|
|
|
|
|
+ config XEN_COMPAT_030200_AND_LATER
|
|
|
|
+ bool "3.2.0 and later"
|
|
|
|
+
|
|
|
|
+ config XEN_COMPAT_030300_AND_LATER
|
|
|
|
+ bool "3.3.0 and later"
|
|
|
|
+
|
|
|
|
+ config XEN_COMPAT_030400_AND_LATER
|
|
|
|
+ bool "3.4.0 and later"
|
2011-04-19 20:09:59 +00:00
|
|
|
+
|
|
|
|
+ config XEN_COMPAT_040000_AND_LATER
|
|
|
|
+ bool "4.0.0 and later"
|
|
|
|
+
|
|
|
|
+ config XEN_COMPAT_040100_AND_LATER
|
|
|
|
+ bool "4.1.0 and later"
|
2010-07-07 11:12:45 +00:00
|
|
|
+
|
|
|
|
config XEN_COMPAT_LATEST_ONLY
|
|
|
|
bool "no compatibility code"
|
|
|
|
|
2011-04-19 20:09:59 +00:00
|
|
|
@@ -325,6 +340,11 @@ endchoice
|
2010-07-07 11:12:45 +00:00
|
|
|
config XEN_COMPAT
|
|
|
|
hex
|
|
|
|
default 0xffffff if XEN_COMPAT_LATEST_ONLY
|
2011-04-19 20:09:59 +00:00
|
|
|
+ default 0x040100 if XEN_COMPAT_040100_AND_LATER
|
|
|
|
+ default 0x040000 if XEN_COMPAT_040000_AND_LATER
|
2010-07-07 11:12:45 +00:00
|
|
|
+ default 0x030400 if XEN_COMPAT_030400_AND_LATER
|
|
|
|
+ default 0x030300 if XEN_COMPAT_030300_AND_LATER
|
|
|
|
+ default 0x030200 if XEN_COMPAT_030200_AND_LATER
|
|
|
|
default 0x030100 if XEN_COMPAT_030100_AND_LATER
|
|
|
|
default 0x030004 if XEN_COMPAT_030004_AND_LATER
|
|
|
|
default 0x030002 if XEN_COMPAT_030002_AND_LATER
|