From: Parker Newman <pnewman@connecttech.com>
Nvidia Tegra MGBE controllers require the iommu "Stream ID" (SID) to be
written to a register for proper operation.
The current driver is hard coded to mgbe0's SID, causing the other mgbe
controller instances to not work.
This patch enables the other mgbe controllers by reading the SID from the
iommus property in the device tree using the existing
tegra_dev_iommu_get_stream_id() function in linux/iommu.h.
Parker Newman (1):
net: stmmac: dwmac-tegra: Read iommu stream id from device tree
drivers/net/ethernet/stmicro/stmmac/dwmac-tegra.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
base-commit: 37c5695cb37a20403947062be8cb7e00f6bed353
--
2.47.0