public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: andreas.gaer at baslerweb.com <andreas.gaer@baslerweb.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] Davinci: Fixed wrong EMAC_MDIO_PHY_MASK
Date: Wed, 21 Apr 2010 10:27:02 +0200	[thread overview]
Message-ID: <1271838423-20183-2-git-send-email-andreas.gaer@baslerweb.com> (raw)
In-Reply-To: <1271838423-20183-1-git-send-email-andreas.gaer@baslerweb.com>

From: Andreas Gaeer <Andreas.Gaer@baslerweb.com>

Signed-off-by: Andreas Gaeer <Andreas.Gaer@baslerweb.com>
---
 arch/arm/include/asm/arch-davinci/emac_defs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/arch-davinci/emac_defs.h b/arch/arm/include/asm/arch-davinci/emac_defs.h
index b0ec8f5..baee6aa 100644
--- a/arch/arm/include/asm/arch-davinci/emac_defs.h
+++ b/arch/arm/include/asm/arch-davinci/emac_defs.h
@@ -86,7 +86,7 @@
 
 /* PHY mask - set only those phy number bits where phy is/can be connected */
 #define EMAC_MDIO_PHY_NUM           1
-#define EMAC_MDIO_PHY_MASK          (1 << EMAC_MDIO_PHY_NUM)
+#define EMAC_MDIO_PHY_MASK          ((1 << EMAC_MDIO_PHY_NUM)-1)
 
 /* Ethernet Min/Max packet size */
 #define EMAC_MIN_ETHERNET_PKT_SIZE	60
-- 
1.7.0.3

  reply	other threads:[~2010-04-21  8:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21  8:27 [U-Boot] [PATCH 0/2] Fix networking on DM365EVM andreas.gaer at baslerweb.com
2010-04-21  8:27 ` andreas.gaer at baslerweb.com [this message]
2010-04-21  8:27 ` [U-Boot] [PATCH 2/2] Davinci: Move config of MAC address to board setup andreas.gaer at baslerweb.com
2010-04-21 17:51   ` Ben Warren
2010-04-22  9:18     ` Gaer, A.

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=1271838423-20183-2-git-send-email-andreas.gaer@baslerweb.com \
    --to=andreas.gaer@baslerweb.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