From: Florian Fainelli Date: Sat, 23 Aug 2014 01:55:44 +0000 (-0700) Subject: net: phy: allow phy_init_eee() to work with internal PHYs X-Git-Tag: fixes-against-v3.18-rc2~81^2~241^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9f6309585cbefa4a7f08c9017ca482c3222323a;p=pandora-kernel.git net: phy: allow phy_init_eee() to work with internal PHYs Internal PHYs do not have any specific phy_interface_t defined because they are within an Ethernet MAC or a larger IC, they will fail the early check in phy_init_eee(). Allow these PHYs to proceed with EEE initialization and report error/success by checking the standard C45 EEE-related registers. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed