From: Tomas Winkler <tomas.winkler@intel.com>
To: gregkh@linuxfoundation.org
Cc: arnd@arndb.de, alan@linux.intel.com,
linux-kernel@vger.kernel.org,
Tomas Winkler <tomas.winkler@intel.com>
Subject: [RESEND char-misc-next 07/14] mei: mei_me_client is not hw API move to mei_dev.h
Date: Tue, 25 Dec 2012 19:06:05 +0200 [thread overview]
Message-ID: <1356455172-31959-8-git-send-email-tomas.winkler@intel.com> (raw)
In-Reply-To: <1356455172-31959-1-git-send-email-tomas.winkler@intel.com>
Move struct mei_me_client from hw.h to mei_dev.h as it is not
part of the hardware API. The structutre doesn't have to
be packed. Add kdoc for this structure.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
---
drivers/misc/mei/hw.h | 6 ------
drivers/misc/mei/mei_dev.h | 13 +++++++++++++
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h
index ba7d06c..6ebb369 100644
--- a/drivers/misc/mei/hw.h
+++ b/drivers/misc/mei/hw.h
@@ -230,11 +230,5 @@ struct hbm_flow_control {
u8 reserved[MEI_FC_MESSAGE_RESERVED_LENGTH];
} __packed;
-struct mei_me_client {
- struct mei_client_properties props;
- u8 client_id;
- u8 mei_flow_ctrl_creds;
-} __packed;
-
#endif
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index 6ea430e..228a98c 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -158,6 +158,19 @@ struct mei_message_data {
unsigned char *data;
};
+/**
+ * struct mei_me_client - representation of me (fw) client
+ *
+ * @props - client properties
+ * @client_id - me client id
+ * @mei_flow_ctrl_creds - flow control credits
+ */
+struct mei_me_client {
+ struct mei_client_properties props;
+ u8 client_id;
+ u8 mei_flow_ctrl_creds;
+};
+
struct mei_cl;
--
1.7.4.4
next prev parent reply other threads:[~2012-12-25 17:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-25 17:05 [RESEND char-misc-next 00/14] mei: cleanups Tomas Winkler
2012-12-25 17:05 ` [RESEND char-misc-next 01/14] mei: drop redundant length parameter from mei_write_message function Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 02/14] mei: use unified format for printing mei message header Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 03/14] mei: move internal host clients ids to mei_dev.h from hw.h Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 04/14] mei: extract device dependent constants into hw-me.h Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 05/14] mei: include local headers after the system ones Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 06/14] mei: kill not used BAR0 length and base variables Tomas Winkler
2012-12-25 17:06 ` Tomas Winkler [this message]
2012-12-25 17:06 ` [RESEND char-misc-next 08/14] mei: move hw dependent functions to interface.c Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 09/14] mei: move host bus message handling to hbm.c Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 10/14] mei: drop nonexistent function prototype Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 11/14] mei: simplify preparing client host bus messages Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 12/14] mei: use structured buffer for the write buffer Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 13/14] mei: add common prefix to hbm function Tomas Winkler
2012-12-25 17:06 ` [RESEND char-misc-next 14/14] mei: move hbm responses from interrupt.c to hbm.c Tomas Winkler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356455172-31959-8-git-send-email-tomas.winkler@intel.com \
--to=tomas.winkler@intel.com \
--cc=alan@linux.intel.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®