提交 90dba23e 编写于 作者: I Ira Weiny 提交者: Doug Ledford

IB/hfi1: Fix up sdma_init function comment

sdma_init does not take a number of sdma engine parameters,
rather it initializes all of the sdma engines.
Signed-off-by: NIra Weiny <ira.weiny@intel.com>
Signed-off-by: NDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 b4e9e2f0
...@@ -1340,10 +1340,8 @@ static void sdma_clean(struct hfi1_devdata *dd, size_t num_engines) ...@@ -1340,10 +1340,8 @@ static void sdma_clean(struct hfi1_devdata *dd, size_t num_engines)
* @dd: hfi1_devdata * @dd: hfi1_devdata
* @port: port number (currently only zero) * @port: port number (currently only zero)
* *
* sdma_init initializes the specified number of engines. * Initializes each sde and its csrs.
* * Interrupts are not required to be enabled.
* The code initializes each sde, its csrs. Interrupts
* are not required to be enabled.
* *
* Returns: * Returns:
* 0 - success, -errno on failure * 0 - success, -errno on failure
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册