Re: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality
From: Kumar Gala <hidden>
Date: 2008-01-18 06:48:03
Also in:
linuxppc-dev
From: Kumar Gala <hidden>
Date: 2008-01-18 06:48:03
Also in:
linuxppc-dev
On Fri, 7 Dec 2007, Vitaly Bordug wrote:
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 <redacted> Signed-off-by: Vitaly Bordug <redacted> Acked-by: Jeff Garzik <redacted> --- drivers/net/phy/Kconfig | 32 +-- drivers/net/phy/fixed.c | 445 +++++++++++++++++---------------------------- include/linux/phy_fixed.h | 51 ++--- 3 files changed, 195 insertions(+), 333 deletions(-)
applied. - k