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>
This commit is contained in:
Tomas Winkler
2012-12-25 19:06:07 +02:00
committed by Greg Kroah-Hartman
parent 3a65dd4ea3
commit bb1b0133b3
6 changed files with 456 additions and 419 deletions

View File

@@ -402,6 +402,14 @@ int mei_ioctl_connect_client(struct file *file,
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_enable_interrupts(struct mei_device *dev);
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;