]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/mei/mei_dev.h
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mv-sheeva.git] / drivers / staging / mei / mei_dev.h
index af4b1af9eeac93e833e3a41585e2654d215e3b94..10b1b4e2f8ac9e65dded0f48a0f9e65631a30ebb 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *
  * Intel Management Engine Interface (Intel MEI) Linux driver
- * Copyright (c) 2003-2011, Intel Corporation.
+ * Copyright (c) 2003-2012, Intel Corporation.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms and conditions of the GNU General Public License,
 #include "mei.h"
 #include "hw.h"
 
-/*
- * MEI Char Driver Minors
- */
-#define MEI_MINORS_BASE        1
-#define MEI_MINORS_COUNT       1
-#define MEI_MINOR_NUMBER       1
-
 /*
  * watch dog definition
  */
 #define MEI_WD_PARAMS_SIZE             4
 #define MEI_WD_STATE_INDEPENDENCE_MSG_SENT       (1 << 0)
 
+#define MEI_RD_MSG_BUF_SIZE           (128 * sizeof(u32))
+
 /*
  * MEI PCI Device object
  */
 extern struct pci_dev *mei_device;
 
-/*
- * AMT Watchdog Device
- */
-#define INTEL_AMT_WATCHDOG_ID "INTCAMT"
-extern struct watchdog_device amt_wd_dev;
 
 /*
  * AMTHI Client UUID
@@ -99,7 +89,7 @@ enum mei_states {
        MEI_POWER_UP
 };
 
-/* init clients  states*/
+/* init clients states*/
 enum mei_init_clients_states {
        MEI_START_MESSAGE = 0,
        MEI_ENUM_CLIENTS_MESSAGE,
@@ -137,7 +127,7 @@ enum mei_cb_major_types {
  */
 struct mei_message_data {
        u32 size;
-       char *data;
+       unsigned char *data;
 } __packed;
 
 
@@ -175,7 +165,6 @@ struct mei_cl {
 
 struct mei_io_list {
        struct mei_cl_cb mei_cb;
-       int status;
 };
 
 /* MEI private device struct */
@@ -232,7 +221,7 @@ struct mei_device {
        bool need_reset;
 
        u32 extra_write_index;
-       u32 rd_msg_buf[128];    /* used for control messages */
+       unsigned char rd_msg_buf[MEI_RD_MSG_BUF_SIZE];  /* control messages */
        u32 wr_msg_buf[128];    /* used for control messages */
        u32 ext_msg_buf[8];     /* for control responses */
        u32 rd_msg_hdr;