mei: move host bus message handling to hbm.c
for sake of more layered design we move host
bus message handling to the new hbm.c file
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index 472c9ca..b437f8b 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -402,6 +402,14 @@
int mei_start_read(struct mei_device *dev, struct mei_cl *cl);
+void mei_client_disconnect_response(struct mei_device *dev,
+ struct hbm_client_connect_response *rs);
+
+void mei_client_connect_response(struct mei_device *dev,
+ struct hbm_client_connect_response *rs);
+
+void mei_client_flow_control_response(struct mei_device *dev,
+ struct hbm_flow_control *flow_control);
/*
* AMTHIF - AMT Host Interface Functions
*/
@@ -452,6 +460,8 @@
void mei_disable_interrupts(struct mei_device *dev);
+void mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr);
+
static inline struct mei_msg_hdr *mei_hbm_hdr(u32 *buf, size_t length)
{
struct mei_msg_hdr *hdr = (struct mei_msg_hdr *)buf;