staging/mei: add mei user space example
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 9 Feb 2012 17:25:55 +0000 (19:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:44:58 +0000 (09:44 -0800)
commitc52827cc4ddf387c59b605c9d83dcaffbbf465bf
tree5d7a185e07fbfbed9245cba716feb42eeaa55eea
parentedf1eed46636d0d34473657f24c32dc779afc85f
staging/mei: add mei user space example

this example tries to connect to amt host interface client and retrieve
versions of its sub components

When AMT is enabled an output might look like that:
Intel AMT: ENABLED
Flash: 6.1.0
Netstack: 6.1.0
AMTApps: 6.1.0
AMT: 6.1.0
Sku: 258
VendorID: 8086
Build Number: 1042
Recovery Version: 6.1.0
Recovery Build Num: 1042
Legacy Mode: False

otherwise:
Intel AMT: DISABLED

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mei/mei-amt-version.c [new file with mode: 0644]