commit | cc80ee13609dc5926ad563d1a793991c80675e65 | [log] [tgz] |
---|---|---|
author | Dinh Nguyen <dinguyen@altera.com> | Tue Apr 29 12:56:21 2014 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 30 13:31:26 2014 -0400 |
tree | f89bf1b6f253276dfb7e1df3695b7b771f9142c2 | |
parent | 6ebbc1a6383fe78be3c0961d1475043ac6cc2542 [diff] |
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: Dinh Nguyen <dinguyen@altera.com> Tested-by: Vince Bridgers <vbridger@altera.com> Signed-off-by: David S. Miller <davem@davemloft.net>