aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMurali Karicheri2015-01-30 17:00:36 -0600
committerMurali Karicheri2015-01-30 17:00:36 -0600
commit5ac61d32750b35dcd0db18c55a0030b175e729cd (patch)
treecd8adbb4663b04fc28c86af9e223dcb245c323fb /drivers/net/ethernet/ti/keystone_ethss2.c
parent89078698481db09873cd31d839a83516bd6613cc (diff)
parentf5782c377771aec1cf4ee5c045fcf1a06161425a (diff)
downloadlinux-5ac61d32750b35dcd0db18c55a0030b175e729cd.tar.gz
linux-5ac61d32750b35dcd0db18c55a0030b175e729cd.tar.xz
linux-5ac61d32750b35dcd0db18c55a0030b175e729cd.zip
Merge branch 'v3.10.61/rebuild/24-drivers-net' into v3.10.61/master
Diffstat (limited to 'drivers/net/ethernet/ti/keystone_ethss2.c')
-rw-r--r--drivers/net/ethernet/ti/keystone_ethss2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/keystone_ethss2.c b/drivers/net/ethernet/ti/keystone_ethss2.c
index 0e93f526ba3..7ff7363575f 100644
--- a/drivers/net/ethernet/ti/keystone_ethss2.c
+++ b/drivers/net/ethernet/ti/keystone_ethss2.c
@@ -2565,6 +2565,11 @@ static void cpsw2_port_config(struct cpsw2_slave *slave, int max_rx_len)
2565 2565
2566static void cpsw2_slave_stop(struct cpsw2_slave *slave, struct cpsw2_priv *priv) 2566static void cpsw2_slave_stop(struct cpsw2_slave *slave, struct cpsw2_priv *priv)
2567{ 2567{
2568 /* disable forwarding */
2569 if (slave->ale)
2570 cpsw_ale_control_set(slave->ale, slave->port_num,
2571 ALE_PORT_STATE, ALE_PORT_STATE_DISABLE);
2572
2568 cpsw2_port_reset(slave); 2573 cpsw2_port_reset(slave);
2569 2574
2570 if (!slave->phy) 2575 if (!slave->phy)