Skip to content

Commit f79d7e6

Browse files
ribaldadavem330
authored andcommitted
net/ll_temac: FIX : Wait for indirect wait to end
While tracing down a connectivity problem on the temac I connected a probe to the Cross bar irq, and it was triggered when doing ifdown->ifup. This is fixed once waiting for the indirect write to end. Since it is not on the hot path there is no performance loss. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 50ec153 commit f79d7e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/net/ethernet/xilinx/ll_temac_main.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ void temac_indirect_out32(struct temac_local *lp, int reg, u32 value)
114114
return;
115115
temac_iow(lp, XTE_LSW0_OFFSET, value);
116116
temac_iow(lp, XTE_CTL0_OFFSET, CNTLREG_WRITE_ENABLE_MASK | reg);
117+
temac_indirect_busywait(lp);
117118
}
118119

119120
/**

0 commit comments

Comments
 (0)