[U-Boot] [RFC] 83xx: uec: miiphybb: Added support for bitBang SMI and uec SMI enabled at the same time.

Wolfgang Denk wd at denx.de
Sun Nov 22 21:21:33 CET 2009


Dear Kim,

In message <4A394E90.6080600 at RuggedCom.com> Richard Retanubun wrote:
> Greetings,
> 
> Our board have one PHY's SMI attached via GPIO (bitBang SMI)
> and the other network device (a switch) connected to the 8360e's real SMI controller.
> 
> This patch aims to make u-boot able to use both at the same time. I am checking if I am
> on the right track and if I have missed something.
> 
> The board-specific header file #define looks like this (similar to the FIXED_PHY) method
> 
> [snip]
> #define CONFIG_SYS_BITBANG_PHY_PORT(devnum) devnum,
> #define CONFIG_SYS_BITBANG_PHY_PORTS \
> 	CONFIG_SYS_BITBANG_PHY_PORT(10)
> [/snip]
> 
> My code's baseline is at commit 57fe30194d3c15c37d9ff06dbd2a4c1ffccda018 (post v2009.06)
> 
> Thank you for everyone's time.
> 
> - Richard
> 
>  From 644a9cd7b9d9331989a3cf59d920a072c9dafe05 Mon Sep 17 00:00:00 2001
> From: Richard Retanubun <RichardRetanubun at RuggedCom.com>
> Date: Wed, 17 Jun 2009 16:00:41 -0400
> Subject: [PATCH] 83xx: UEC: Added support for bitBang MII driver access to PHYs
> 
> This patch enabled support for having PHYs on bitBang MII and uec MII
> operating at the same time.
> ---
>   drivers/net/phy/miiphybb.c |   28 ++++++++++++++++++++++------
>   drivers/net/phy/miiphybb.h |   26 ++++++++++++++++++++++++++
>   drivers/qe/uec.c           |    6 ++----
>   drivers/qe/uec_phy.c       |   34 ++++++++++++++++++++++++++++++++++
>   4 files changed, 84 insertions(+), 10 deletions(-)
>   create mode 100644 drivers/net/phy/miiphybb.h

Can you please check the status of this patch:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/61758

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The years of peak mental activity are undoubtedly between the ages of
four and eighteen. At four we know all the questions, at eighteen all
the answers.


More information about the U-Boot mailing list