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 03/14] mei: move internal host clients ids to mei_dev.h from hw.h
Date: Tue, 25 Dec 2012 19:06:01 +0200 [thread overview]
Message-ID: <1356455172-31959-4-git-send-email-tomas.winkler@intel.com> (raw)
In-Reply-To: <1356455172-31959-1-git-send-email-tomas.winkler@intel.com>
Internal clients numbers are implementation choice
and not defined by the hardware.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
---
drivers/misc/mei/hw.h | 5 -----
drivers/misc/mei/mei_dev.h | 6 ++++++
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h
index be8ca6b..7d47366 100644
--- a/drivers/misc/mei/hw.h
+++ b/drivers/misc/mei/hw.h
@@ -31,11 +31,6 @@
#define MEI_IAMTHIF_STALL_TIMER 12 /* HPS */
#define MEI_IAMTHIF_READ_TIMER 10 /* HPS */
-/*
- * Internal Clients Number
- */
-#define MEI_WD_HOST_CLIENT_ID 1
-#define MEI_IAMTHIF_HOST_CLIENT_ID 2
/*
* MEI device IDs
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index da09805..39cd289 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -72,6 +72,12 @@ extern const u8 mei_wd_state_independence_msg[3][4];
*/
#define MEI_MAX_OPEN_HANDLE_COUNT (MEI_CLIENTS_MAX - 3)
+/*
+ * Internal Clients Number
+ */
+#define MEI_WD_HOST_CLIENT_ID 1
+#define MEI_IAMTHIF_HOST_CLIENT_ID 2
+
/* File state */
enum file_state {
--
1.7.4.4
next prev parent reply other threads:[~2012-12-25 17:09 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 ` Tomas Winkler [this message]
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 ` [RESEND char-misc-next 07/14] mei: mei_me_client is not hw API move to mei_dev.h Tomas Winkler
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-4-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®