Commit 90dba23e authored by Ira Weiny's avatar Ira Weiny Committed by 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: default avatarIra Weiny <ira.weiny@intel.com>
Signed-off-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment