From: Claudiu Manoil Date: Wed, 23 Apr 2014 13:38:47 +0000 (+0300) Subject: gianfar: Check if phydev present on ethtool -A X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98a46d46d1bc983125b6ff9a0e831050a7011713;p=pandora-kernel.git gianfar: Check if phydev present on ethtool -A This fixes a seg fault on 'ethtool -A' entry if the interface is down. Obviously we need to have the phy device initialized / "connected" (see of_phy_connect()) to be able to advertise pause frame capabilities. Fixes: 23402bddf9e56eecb27bbd1e5467b3b79b3dbe58 Signed-off-by: Claudiu Manoil Signed-off-by: David S. Miller --- Reading git-diff-tree failed