On 06/16/2016 06:54 PM, Jeremy Linton wrote:
By default, mdiobus_alloc() sets the PHY's to polling mode, but a
Rather "PHYs".
pointer size memcpy means that couple IRQs (depending
Could be more words on this line, it's broken too early, I think.
on 32-bit or 64-bit kernels) end up being overwritten with a value of 0. This means that PHY_POLL is disabled and results in unpredictable behavior depending on the PHYs location on the mdio
Contrariwise, "PHY's" here. And it's MDIO.
bus. Remove that memcpy and the now unused phy_irq member to force SMSC911x PHY's into polling mode 100% of the time. Signed-off-by: Jeremy Linton <jeremy.lin...@arm.com>
Acked-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> [...] MBR, Sergei