From: "Teresa Gámez" <t.gamez@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/4] net: cpsw: Allow gigabit connection
Date: Tue, 7 Oct 2014 10:40:34 +0200 [thread overview]
Message-ID: <1412671237-46551-2-git-send-email-t.gamez@phytec.de> (raw)
In-Reply-To: <1412671237-46551-1-git-send-email-t.gamez@phytec.de>
From: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
---
drivers/net/cpsw.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index 167b2dd..50890c4 100644
--- a/drivers/net/cpsw.c
+++ b/drivers/net/cpsw.c
@@ -581,8 +581,7 @@ static void cpsw_slave_update_link(struct cpsw_slave *slave,
else if (phydev->speed == SPEED_100)
mac_control |= BIT(15);
else if (phydev->speed == SPEED_1000)
- mac_control &= ~BIT(7); /* TODO: Do not enable
- * gig support now */
+ mac_control |= BIT(7);
if (phydev->duplex == DUPLEX_FULL)
mac_control |= BIT(0); /* FULLDUPLEXEN */
}
--
1.9.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2014-10-07 8:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 8:40 [PATCH 0/4] Add phyFLEX-AM335x support Teresa Gámez
2014-10-07 8:40 ` Teresa Gámez [this message]
2014-10-07 8:40 ` [PATCH 2/4] net: micrel: Add ksz8081 support Teresa Gámez
2014-10-07 8:40 ` [PATCH 3/4] boards: Add phytec-phyflex-am335x Teresa Gámez
2014-10-07 8:40 ` [PATCH 4/4] pfla03: add to am335x_defconfig Teresa Gámez
2014-10-08 9:11 ` [PATCH 0/4] Add phyFLEX-AM335x support 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=1412671237-46551-2-git-send-email-t.gamez@phytec.de \
--to=t.gamez@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