From: Vitaly Bordug Date: Thu, 6 Dec 2007 22:51:22 +0000 (+0300) Subject: phy/fixed.c: rework to not duplicate PHY layer functionality X-Git-Tag: v2.6.25-rc1~1131^2~99^2~29 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a79d8e93d300adb84cccc38ac396cfb118c238ad;p=pandora-kernel.git phy/fixed.c: rework to not duplicate PHY layer functionality With that patch fixed.c now fully emulates MDIO bus, thus no need to duplicate PHY layer functionality. That, in turn, drastically simplifies the code, and drops down line count. As an additional bonus, now there is no need to register MDIO bus for each PHY, all emulated PHYs placed on the platform fixed MDIO bus. There is also no more need to pre-allocate PHYs via .config option, this is all now handled dynamically. Signed-off-by: Anton Vorontsov Signed-off-by: Vitaly Bordug Acked-by: Jeff Garzik Signed-off-by: Kumar Gala --- Reading git-diff-tree failed