aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/fec_main.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-07-07 19:22:34 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-08 00:21:21 -0400
commitb44592ffb8e0da32f1d17f1586a9d2c59dd152a1 (patch)
tree8db9f17b2137825f3a0ae5dfcdcd0e16e8a5a296 /drivers/net/ethernet/freescale/fec_main.c
parent6c035ea0a2c20c6c481241da562f1adb5b7b8631 (diff)
net: fec: iMX6 FEC does not support half-duplex gigabit
The iMX6 gigabit FEC does not support half-duplex gigabit operation. Phys attacked to the FEC may support this, and we currently do nothing to disable this feature. This may result in an invalid configuration. Mask out phy support for gigabit half-duplex operation. Acked-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_main.c')
-rw-r--r--drivers/net/ethernet/freescale/fec_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 77037fd377b8..a91fe68030e6 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -1667,6 +1667,7 @@ static int fec_enet_mii_probe(struct net_device *ndev)
1667 /* mask with MAC supported features */ 1667 /* mask with MAC supported features */
1668 if (id_entry->driver_data & FEC_QUIRK_HAS_GBIT) { 1668 if (id_entry->driver_data & FEC_QUIRK_HAS_GBIT) {
1669 phy_dev->supported &= PHY_GBIT_FEATURES; 1669 phy_dev->supported &= PHY_GBIT_FEATURES;
1670 phy_dev->supported &= ~SUPPORTED_1000baseT_Half;
1670#if !defined(CONFIG_M5272) 1671#if !defined(CONFIG_M5272)
1671 phy_dev->supported |= SUPPORTED_Pause; 1672 phy_dev->supported |= SUPPORTED_Pause;
1672#endif 1673#endif