Issue: Maximum number of DMA channels is different for Xavier/Orin EQOS/MGBE IP's. Using macro of maximum number of channels will create problem for other IP's. Fix: Assign maximum number of DMA channels based on MAC version. Bug 200741194 Change-Id: I321780b6868dfb36700863a5852b76424d3bbf6b Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2556425 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>