[U-Boot] [PATCH] Change the chip name to fit the eth_device struct

Wolfgang Denk wd at denx.de
Mon Jan 10 22:39:56 CET 2011


Dear Yanjun Yang,

In message <AANLkTikeX3K2sKs9fN92gn52DKGLUdzvxYxPJozx+hr+ at mail.gmail.com> you wrote:
> The eth_device.name field length is limited by NAMESIZE,
> which is 16 defined in include/net.h. Unfortunately, two
> of the names in lan91c96.c are beyond that.
> 
> Signed-off-by: YanJun Yang <yangyj.ee at gmail.com>
> ---
>  drivers/net/lan91c96.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c
> index 810079f..bd6966e 100644
> --- a/drivers/net/lan91c96.c
> +++ b/drivers/net/lan91c96.c
> @@ -767,8 +767,8 @@ static struct id_type supported_chips[] = {
>        {8, "LAN91C100FD"},
>        {7, "LAN91C100"},
>        {5, "LAN91C95"},
> -       {4, "LAN91C94/LAN91C96"},
> -       {3, "LAN91C90/LAN91C92"},
> +       {4, "LAN91C94/96"},
> +       {3, "LAN91C90/92"},

Your patch is white space corrupted, applied manually.

Please use git-send-email next time.

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
Any sufficiently advanced technology is indistinguishable from magic.
                                                   - Arthur C. Clarke


More information about the U-Boot mailing list