bcm87xx.c (d79e26a7efc22c4cc2cd66529cc3bd4e0ed5938a) bcm87xx.c (3c1bcc8614db10803f1f57ef0295363917448cb2)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2011 - 2012 Cavium, Inc.
7 */
8

--- 72 unchanged lines hidden (view full) ---

81static int bcm87xx_of_reg_init(struct phy_device *phydev)
82{
83 return 0;
84}
85#endif /* CONFIG_OF_MDIO */
86
87static int bcm87xx_config_init(struct phy_device *phydev)
88{
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2011 - 2012 Cavium, Inc.
7 */
8

--- 72 unchanged lines hidden (view full) ---

81static int bcm87xx_of_reg_init(struct phy_device *phydev)
82{
83 return 0;
84}
85#endif /* CONFIG_OF_MDIO */
86
87static int bcm87xx_config_init(struct phy_device *phydev)
88{
89 phydev->supported = SUPPORTED_10000baseR_FEC;
90 phydev->advertising = ADVERTISED_10000baseR_FEC;
89 linkmode_zero(phydev->supported);
90 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseR_FEC_BIT,
91 phydev->supported);
92 linkmode_zero(phydev->advertising);
93 linkmode_set_bit(ETHTOOL_LINK_MODE_10000baseR_FEC_BIT,
94 phydev->advertising);
91 phydev->state = PHY_NOLINK;
92 phydev->autoneg = AUTONEG_DISABLE;
93
94 bcm87xx_of_reg_init(phydev);
95
96 return 0;
97}
98

--- 120 unchanged lines hidden ---
95 phydev->state = PHY_NOLINK;
96 phydev->autoneg = AUTONEG_DISABLE;
97
98 bcm87xx_of_reg_init(phydev);
99
100 return 0;
101}
102

--- 120 unchanged lines hidden ---