[PATCH 1/4] net: cpsw: Allow gigabit connection

Teresa Gámez t.gamez at phytec.de
Tue Oct 7 01:40:34 PDT 2014


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

Signed-off-by: Jan Weitzel <j.weitzel at 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




More information about the barebox mailing list