mirror of https://gitee.com/openkylin/linux.git
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: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
b4e9e2f0fc
commit
90dba23e1e
|
@ -1340,10 +1340,8 @@ static void sdma_clean(struct hfi1_devdata *dd, size_t num_engines)
|
|||
* @dd: hfi1_devdata
|
||||
* @port: port number (currently only zero)
|
||||
*
|
||||
* sdma_init initializes the specified number of engines.
|
||||
*
|
||||
* The code initializes each sde, its csrs. Interrupts
|
||||
* are not required to be enabled.
|
||||
* Initializes each sde and its csrs.
|
||||
* Interrupts are not required to be enabled.
|
||||
*
|
||||
* Returns:
|
||||
* 0 - success, -errno on failure
|
||||
|
|
Loading…
Reference in New Issue