aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ocs_fc
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-11-15 02:36:48 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-11-15 02:36:48 +0000
commit7aa5b2a9e7f5f3cd33e72cb1e95790fe7637f10f (patch)
treec76594c4cdaefa209437411f005b0b2e23c02882 /sys/dev/ocs_fc
parent1e65df68403acac2231dda161fd12e62f888a031 (diff)
Diffstat (limited to 'sys/dev/ocs_fc')
-rw-r--r--sys/dev/ocs_fc/ocs_hw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ocs_fc/ocs_hw.c b/sys/dev/ocs_fc/ocs_hw.c
index 097228d12bfb..4db6634d3d90 100644
--- a/sys/dev/ocs_fc/ocs_hw.c
+++ b/sys/dev/ocs_fc/ocs_hw.c
@@ -7740,7 +7740,7 @@ ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *a
* context.
* - OCS_HW_RTN_ERROR on any other error.
*/
-int32_t
+ocs_hw_rtn_e
ocs_hw_get_active_profile(ocs_hw_t *hw, ocs_get_active_profile_cb_t cb, void* ul_arg)
{
uint8_t *mbxdata;
@@ -7837,7 +7837,7 @@ ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
* context.
* - OCS_HW_RTN_ERROR on any other error.
*/
-int32_t
+ocs_hw_rtn_e
ocs_hw_get_nvparms(ocs_hw_t *hw, ocs_get_nvparms_cb_t cb, void* ul_arg)
{
uint8_t *mbxdata;
@@ -7934,7 +7934,7 @@ ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
* context.
* - OCS_HW_RTN_ERROR on any other error.
*/
-int32_t
+ocs_hw_rtn_e
ocs_hw_set_nvparms(ocs_hw_t *hw, ocs_set_nvparms_cb_t cb, uint8_t *wwpn,
uint8_t *wwnn, uint8_t hard_alpa, uint32_t preferred_d_id, void* ul_arg)
{
@@ -8099,7 +8099,7 @@ ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *a
* context.
* - OCS_HW_RTN_ERROR on any other error.
*/
-int32_t
+ocs_hw_rtn_e
ocs_hw_set_active_profile(ocs_hw_t *hw, ocs_set_active_profile_cb_t cb, uint32_t profile_id, void* ul_arg)
{
uint8_t *mbxdata;