From: Florian Fainelli Date: Mon, 13 Feb 2012 01:23:22 +0000 (+0000) Subject: fec: fix PHY name to match fixed MDIO bus name X-Git-Tag: v3.3-rc4~2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea51ade9398f3c94f63a25f512445ee7cbbbf284;p=pandora-kernel.git fec: fix PHY name to match fixed MDIO bus name Commit "391420f7: fec: use an unique MDIO bus name" first modified the MDIO bus name to include the platform name, then in commit "a7ed07d5: net: fec: correct phy_name buffer length when init phy_name" the PHY name formatting was fixed in the case the PHY matches a PHY driver. The FEC driver however, also handles the case where we want to attach to the fixed MDIO bus name, which was previously named "0", and now "fixed-0". Change the PHY formatting logic to account for that. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed