From: Dinh Nguyen Date: Tue, 29 Apr 2014 17:56:21 +0000 (-0500) Subject: net: stmmac: set phy to use polling by default X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~290 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc80ee13609dc5926ad563d1a793991c80675e65;p=pandora-kernel.git 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 Tested-by: Vince Bridgers Signed-off-by: David S. Miller --- Reading git-diff-tree failed