Commit 4f3afe1d authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

mei: export mei.h for the user space

The header exports API for application layer

1. move under include/linux and add to  the export list
2. update include path n the sources
3. update TODO
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b544f3fd
TODO: TODO:
- Cleanup and split the timer function - Cleanup and split the timer function
Upon Unstaging: Upon Unstaging:
- move mei.h to include/linux/mei.h
- Documentation/ioctl/ioctl-number.txt - Documentation/ioctl/ioctl-number.txt
- move mei.txt under Documentation/mei/ - move mei.txt under Documentation/mei/
- move mei-amt-version.c under Documentation/mei - move mei-amt-version.c under Documentation/mei
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "mei_dev.h" #include "mei_dev.h"
#include "hw.h" #include "hw.h"
#include "interface.h" #include "interface.h"
#include "mei.h" #include <linux/mei.h>
const uuid_le mei_amthi_guid = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, 0xac, const uuid_le mei_amthi_guid = UUID_LE(0x12f80028, 0xb4b7, 0x4b2d, 0xac,
0xa8, 0x46, 0xe0, 0xff, 0x65, 0xa8, 0x46, 0xe0, 0xff, 0x65,
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include "mei_dev.h" #include "mei_dev.h"
#include "mei.h" #include <linux/mei.h>
#include "interface.h" #include "interface.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#ifndef _MEI_INTERFACE_H_ #ifndef _MEI_INTERFACE_H_
#define _MEI_INTERFACE_H_ #define _MEI_INTERFACE_H_
#include "mei.h" #include <linux/mei.h>
#include "mei_dev.h" #include "mei_dev.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include "mei_dev.h" #include "mei_dev.h"
#include "mei.h" #include <linux/mei.h>
#include "hw.h" #include "hw.h"
#include "interface.h" #include "interface.h"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "mei_dev.h" #include "mei_dev.h"
#include "hw.h" #include "hw.h"
#include "mei.h" #include <linux/mei.h>
#include "interface.h" #include "interface.h"
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
#include "mei_dev.h" #include "mei_dev.h"
#include "mei.h" #include <linux/mei.h>
#include "interface.h" #include "interface.h"
static const char mei_driver_name[] = "mei"; static const char mei_driver_name[] = "mei";
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#include <bits/wordsize.h> #include <bits/wordsize.h>
#include "mei.h" #include <linux/mei.h>
/***************************************************************************** /*****************************************************************************
* Intel Management Engine Interface * Intel Management Engine Interface
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/watchdog.h> #include <linux/watchdog.h>
#include "mei.h" #include <linux/mei.h>
#include "hw.h" #include "hw.h"
/* /*
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "mei_dev.h" #include "mei_dev.h"
#include "hw.h" #include "hw.h"
#include "interface.h" #include "interface.h"
#include "mei.h" #include <linux/mei.h>
static const u8 mei_start_wd_params[] = { 0x02, 0x12, 0x13, 0x10 }; static const u8 mei_start_wd_params[] = { 0x02, 0x12, 0x13, 0x10 };
static const u8 mei_stop_wd_params[] = { 0x02, 0x02, 0x14, 0x10 }; static const u8 mei_stop_wd_params[] = { 0x02, 0x02, 0x14, 0x10 };
......
...@@ -240,6 +240,7 @@ header-y += map_to_7segment.h ...@@ -240,6 +240,7 @@ header-y += map_to_7segment.h
header-y += matroxfb.h header-y += matroxfb.h
header-y += mdio.h header-y += mdio.h
header-y += media.h header-y += media.h
header-y += mei.h
header-y += mempolicy.h header-y += mempolicy.h
header-y += meye.h header-y += meye.h
header-y += mii.h header-y += mii.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment