aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2015-09-10 03:18:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-20 22:30:10 -0400
commitb26864cad1c9f66f4966726ba7bc81d2b9b8f990 (patch)
tree544ef475f227b687056807d396677c124217824a /include/linux/mod_devicetable.h
parent40b7320ee413d0d1cc89c32c2a757fda56d27708 (diff)
mei: bus: add client protocol version to the device alias
The device alias now looks like mei:S:uuid:N:* In that way we can bind different drivers to clients with different protocol versions if required. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r--include/linux/mod_devicetable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 5e8a0ad22cbc..6975cbf1435b 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -601,11 +601,13 @@ struct ipack_device_id {
601 601
602#define MEI_CL_MODULE_PREFIX "mei:" 602#define MEI_CL_MODULE_PREFIX "mei:"
603#define MEI_CL_NAME_SIZE 32 603#define MEI_CL_NAME_SIZE 32
604#define MEI_CL_VERSION_ANY 0xff
604 605
605/** 606/**
606 * struct mei_cl_device_id - MEI client device identifier 607 * struct mei_cl_device_id - MEI client device identifier
607 * @name: helper name 608 * @name: helper name
608 * @uuid: client uuid 609 * @uuid: client uuid
610 * @version: client protocol version
609 * @driver_info: information used by the driver. 611 * @driver_info: information used by the driver.
610 * 612 *
611 * identifies mei client device by uuid and name 613 * identifies mei client device by uuid and name
@@ -613,6 +615,7 @@ struct ipack_device_id {
613struct mei_cl_device_id { 615struct mei_cl_device_id {
614 char name[MEI_CL_NAME_SIZE]; 616 char name[MEI_CL_NAME_SIZE];
615 uuid_le uuid; 617 uuid_le uuid;
618 __u8 version;
616 kernel_ulong_t driver_info; 619 kernel_ulong_t driver_info;
617}; 620};
618 621