Skip to content

Commit a62f4f0

Browse files
committed
drivers: netc_switch: make the driver to be aarch64 compatible
Make netc switch driver to be Aarch64 compatible. Signed-off-by: Jiafei Pan <[email protected]>
1 parent f76942d commit a62f4f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcux/mcux-sdk-ng/drivers/netc/fsl_netc_switch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static void SWT_GetBaseResource(swt_handle_t *handle, netc_hw_switch_idx_t sw)
4747
handle->hw.ports[i].eth = (NETC_ETH_LINK_Type *)((uintptr_t)handle->hw.ports[i].port + 0x1000U);
4848
}
4949
handle->hw.msixTable =
50-
(netc_msix_entry_t *)((uint32_t)FSL_FEATURE_NETC_MSIX_TABLE_BASE +
50+
(netc_msix_entry_t *)((uintptr_t)FSL_FEATURE_NETC_MSIX_TABLE_BASE +
5151
NETC_MSIX_TABLE_OFFSET * (NETC_SOC_SWT_MSI_FUNC_OFFSET + (uint32_t)sw));
5252
}
5353

0 commit comments

Comments
 (0)