We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc92c51 commit 873cf38Copy full SHA for 873cf38
drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c
@@ -277,8 +277,10 @@ void stmmac_set_mac(void __iomem *ioaddr, bool enable)
277
else
278
value &= ~(MAC_ENABLE_TX | MAC_ENABLE_RX);
279
280
- if (value != old_val)
+ if (value != old_val){
281
+ pr_warn("%s: writing to MAC_CTRL_REG %x\n", __func__, value);
282
writel(value, ioaddr + MAC_CTRL_REG);
283
+ }
284
}
285
286
void stmmac_get_mac_addr(void __iomem *ioaddr, unsigned char *addr,
0 commit comments