提交 d581bc88 编写于 作者: V Viresh Kumar 提交者: Greg Kroah-Hartman

greybus: firmware: Fix typo in documentation

s/shall be used the user/shall be used by the user/
Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@google.com>
上级 295b5269
...@@ -139,44 +139,45 @@ struct fw_mgmt_ioc_backend_fw_update { ...@@ -139,44 +139,45 @@ struct fw_mgmt_ioc_backend_fw_update {
1. FW_MGMT_IOC_GET_INTF_FW: 1. FW_MGMT_IOC_GET_INTF_FW:
This ioctl shall be used the user to get the version and firmware-tag of the This ioctl shall be used by the user to get the version and firmware-tag of
currently running Interface Firmware. All the fields of the 'struct the currently running Interface Firmware. All the fields of the 'struct
fw_mgmt_ioc_get_fw' are filled by the kernel. fw_mgmt_ioc_get_fw' are filled by the kernel.
2. FW_MGMT_IOC_GET_BACKEND_FW: 2. FW_MGMT_IOC_GET_BACKEND_FW:
This ioctl shall be used the user to get the version of a currently running This ioctl shall be used by the user to get the version of a currently
Backend Interface Firmware identified by a firmware-tag. The user is required running Backend Interface Firmware identified by a firmware-tag. The user is
to fill the 'firmware_tag' field of the 'struct fw_mgmt_ioc_get_fw' in this required to fill the 'firmware_tag' field of the 'struct fw_mgmt_ioc_get_fw'
case. The 'major' and 'minor' fields are set by the kernel in response. in this case. The 'major' and 'minor' fields are set by the kernel in
response.
3. FW_MGMT_IOC_INTF_LOAD_AND_VALIDATE: 3. FW_MGMT_IOC_INTF_LOAD_AND_VALIDATE:
This ioctl shall be used the user to load an Interface Firmware package on an This ioctl shall be used by the user to load an Interface Firmware package on
Interface. The user needs to fill the 'firmware_tag' and 'load_method' fields an Interface. The user needs to fill the 'firmware_tag' and 'load_method'
of the 'struct fw_mgmt_ioc_intf_load_and_validate'. The 'status', 'major' and fields of the 'struct fw_mgmt_ioc_intf_load_and_validate'. The 'status',
'minor' fields are set by the kernel in response. 'major' and 'minor' fields are set by the kernel in response.
4. FW_MGMT_IOC_INTF_BACKEND_FW_UPDATE: 4. FW_MGMT_IOC_INTF_BACKEND_FW_UPDATE:
This ioctl shall be used the user to request an Interface to update a Backend This ioctl shall be used by the user to request an Interface to update a
Interface Firmware. The user is required to fill the 'firmware_tag' field of Backend Interface Firmware. The user is required to fill the 'firmware_tag'
the 'struct fw_mgmt_ioc_get_fw' in this case. The 'status' field is set by field of the 'struct fw_mgmt_ioc_get_fw' in this case. The 'status' field is
the kernel in response. set by the kernel in response.
5. FW_MGMT_IOC_SET_TIMEOUT_MS: 5. FW_MGMT_IOC_SET_TIMEOUT_MS:
This ioctl shall be used the user to increase the timeout interval within This ioctl shall be used by the user to increase the timeout interval within
which the firmware must get loaded by the Module. The default timeout is 1 which the firmware must get loaded by the Module. The default timeout is 1
second. The user needs to pass the timeout in milliseconds. second. The user needs to pass the timeout in milliseconds.
6. FW_MGMT_IOC_MODE_SWITCH: 6. FW_MGMT_IOC_MODE_SWITCH:
This ioctl shall be used the user to mode-switch the module to the previously This ioctl shall be used by the user to mode-switch the module to the
loaded interface firmware. If the interface firmware isn't loaded previously, previously loaded interface firmware. If the interface firmware isn't loaded
or if another unsuccessful FW_MGMT_IOC_INTF_LOAD_AND_VALIDATE operation is previously, or if another unsuccessful FW_MGMT_IOC_INTF_LOAD_AND_VALIDATE
started after loading interface firmware, then the firmware core wouldn't operation is started after loading interface firmware, then the firmware core
allow mode-switch. wouldn't allow mode-switch.
Sysfs Interfaces - Authentication Sysfs Interfaces - Authentication
...@@ -279,13 +280,13 @@ struct cap_ioc_authenticate { ...@@ -279,13 +280,13 @@ struct cap_ioc_authenticate {
1. CAP_IOC_GET_ENDPOINT_UID: 1. CAP_IOC_GET_ENDPOINT_UID:
This ioctl shall be used the user to get the endpoint UID associated with the This ioctl shall be used by the user to get the endpoint UID associated with
Interface. All the fields of the 'struct cap_ioc_get_endpoint_uid' are the Interface. All the fields of the 'struct cap_ioc_get_endpoint_uid' are
filled by the kernel. filled by the kernel.
2. CAP_IOC_GET_IMS_CERTIFICATE: 2. CAP_IOC_GET_IMS_CERTIFICATE:
This ioctl shall be used the user to retrieve one of the available This ioctl shall be used by the user to retrieve one of the available
cryptographic certificates held by the Interface for use in Component cryptographic certificates held by the Interface for use in Component
Authentication. The user is required to fill the 'certificate_class' and Authentication. The user is required to fill the 'certificate_class' and
'certificate_id' field of the 'struct cap_ioc_get_ims_certificate' in this 'certificate_id' field of the 'struct cap_ioc_get_ims_certificate' in this
...@@ -295,8 +296,8 @@ struct cap_ioc_authenticate { ...@@ -295,8 +296,8 @@ struct cap_ioc_authenticate {
3. CAP_IOC_AUTHENTICATE: 3. CAP_IOC_AUTHENTICATE:
This ioctl shall be used the user to authenticate the Module attached to an This ioctl shall be used by the user to authenticate the Module attached to
Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge' an Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge'
fields of the 'struct cap_ioc_authenticate'. The other fields will be set by fields of the 'struct cap_ioc_authenticate'. The other fields will be set by
the kernel in response. The first 'signature_size' bytes of the 'signature' the kernel in response. The first 'signature_size' bytes of the 'signature'
shall be read by the user and others must be discarded. shall be read by the user and others must be discarded.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册