Skip to content
Commit cc80ee13 authored by Dinh Nguyen's avatar Dinh Nguyen Committed by David S. Miller
Browse files

net: stmmac: set phy to use polling by default



mii_irq[] array is never initialized anywhere in the driver, thus mii_irq[]
will always equate to zero. So, for the case where the PHY does not have an
irq, we should use PHY_POLL for that situation.

Signed-off-by: default avatarDinh Nguyen <dinguyen@altera.com>
Tested-by: default avatarVince Bridgers <vbridger@altera.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ebbc1a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment