From: Florian Fainelli Date: Wed, 27 Aug 2014 18:44:33 +0000 (-0700) Subject: net: phy: properly report internal PHYs through sysfs X-Git-Tag: fixes-against-v3.18-rc2~81^2~200 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=574746ddeca959cba407d6b556f96cb580fca8af;p=pandora-kernel.git net: phy: properly report internal PHYs through sysfs Internal PHYs may not have a valid PHY interface defined, which will show up in sysfs as "". Add an explicit check of internal PHYs to report their interface correctly. Fixes: 3d055d8d1c24 ("net: phy: expose PHY device interface mode") Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed