From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] smc911x_eeprom
Date: Tue, 29 Jun 2010 09:28:22 -0700 [thread overview]
Message-ID: <4C2A1F26.9030008@gmail.com> (raw)
In-Reply-To: <AANLkTimpNA_OT4srHCa7DpLFESN5lRCnYEH_DgKW8TqH@mail.gmail.com>
Hi Sergey,
On 6/29/2010 7:59 AM, Sergey Alyoshin wrote:
> smc911x_eeprom: smc911x_detect_chip() function return 0 on success
>
> diff --git a/examples/standalone/smc911x_eeprom.c
> b/examples/standalone/smc911x_eeprom.c
> index 104047f..cb3c131 100644
> --- a/examples/standalone/smc911x_eeprom.c
> +++ b/examples/standalone/smc911x_eeprom.c
> @@ -240,7 +240,7 @@ static void dump_eeprom(struct eth_device *dev)
> static int smc911x_init(struct eth_device *dev)
> {
> /* See if there is anything there */
> - if (!smc911x_detect_chip(dev))
> + if (smc911x_detect_chip(dev))
> return 1;
>
> smc911x_reset(dev);
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
Somebody beat you to it. See commit
88fd3dbe7dac275bc2ae7727c7ebd293c53780c0 in net/next.
regards,
Ben
next prev parent reply other threads:[~2010-06-29 16:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 14:59 [U-Boot] [PATCH] smc911x_eeprom Sergey Alyoshin
2010-06-29 16:28 ` Ben Warren [this message]
2010-06-29 19:44 ` Mike Frysinger
2010-06-29 20:40 ` Sergey Alyoshin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C2A1F26.9030008@gmail.com \
--to=biggerbadderben@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox