[PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

Kumar Gala galak at kernel.crashing.org
Fri Jan 18 17:45:40 EST 2008


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 <avorontsov at ru.mvista.com>
> Signed-off-by: Vitaly Bordug <vitb at kernel.crashing.org>
> Acked-by: Jeff Garzik <jeff at garzik.org>
>
> ---
>
>  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



More information about the Linuxppc-dev mailing list