mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: y@numalfix.phytec.de
To: barebox@lists.infradead.org
Subject: [PATCH 1/3] net: cpsw: Fix gmii_sel config
Date: Tue, 10 Dec 2013 15:30:07 +0100	[thread overview]
Message-ID: <1386685809-21530-1-git-send-email-y> (raw)

From: Jan Weitzel <j.weitzel@phytec.de>

Prober slave_num is needed by cpsw_gmii_sel_am335x to calc reg value.

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
---
 drivers/net/cpsw.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index 5e68e1b..52adf50 100644
--- a/drivers/net/cpsw.c
+++ b/drivers/net/cpsw.c
@@ -1074,6 +1074,7 @@ static int cpsw_probe_dt(struct cpsw_priv *priv)
 
 			slave->phy_id = phy_id[1];
 			slave->phy_if = of_get_phy_mode(child);
+			slave->slave_num = i;
 
 			i++;
 		}
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-12-10 14:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-10 14:30 y [this message]
2013-12-10 14:30 ` [PATCH 2/3] pcm051: ethernet and dts fixes y
2013-12-10 14:30 ` [PATCH 3/3] ARM: OMAP: early call am33xx_register_ethaddr y
2013-12-12  8:09 ` [PATCH 1/3] net: cpsw: Fix gmii_sel config Sascha Hauer

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=1386685809-21530-1-git-send-email-y \
    --to=y@numalfix.phytec.de \
    --cc=barebox@lists.infradead.org \
    /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