Commit 89afb6e4 authored by Yosuke Iwamatsu's avatar Yosuke Iwamatsu Committed by Konrad Rzeszutek Wilk

xenbus: Xen paravirtualised PCI hotplug support.

The Xen PCI front driver adds two new states that are utilizez
for PCI hotplug support. This is a patch pulled from the
linux-2.6-xen-sparse tree.
Signed-off-by: default avatarNoboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: default avatarYosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
parent b5401a96
...@@ -50,6 +50,8 @@ const char *xenbus_strstate(enum xenbus_state state) ...@@ -50,6 +50,8 @@ const char *xenbus_strstate(enum xenbus_state state)
[ XenbusStateConnected ] = "Connected", [ XenbusStateConnected ] = "Connected",
[ XenbusStateClosing ] = "Closing", [ XenbusStateClosing ] = "Closing",
[ XenbusStateClosed ] = "Closed", [ XenbusStateClosed ] = "Closed",
[XenbusStateReconfiguring] = "Reconfiguring",
[XenbusStateReconfigured] = "Reconfigured",
}; };
return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID"; return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID";
} }
......
...@@ -27,8 +27,14 @@ enum xenbus_state ...@@ -27,8 +27,14 @@ enum xenbus_state
XenbusStateClosing = 5, /* The device is being closed XenbusStateClosing = 5, /* The device is being closed
due to an error or an unplug due to an error or an unplug
event. */ event. */
XenbusStateClosed = 6 XenbusStateClosed = 6,
/*
* Reconfiguring: The device is being reconfigured.
*/
XenbusStateReconfiguring = 7,
XenbusStateReconfigured = 8
}; };
#endif /* _XEN_PUBLIC_IO_XENBUS_H */ #endif /* _XEN_PUBLIC_IO_XENBUS_H */
......
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