Home
last modified time | relevance | path

Searched refs:new_adv (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/broadcom/
Dbnx2.c1737 u32 new_adv = 0; in bnx2_setup_serdes_phy() local
1809 new_adv |= ADVERTISE_1000XFULL; in bnx2_setup_serdes_phy()
1811 new_adv |= bnx2_phy_get_pause_adv(bp); in bnx2_setup_serdes_phy()
1817 if ((adv != new_adv) || ((bmcr & BMCR_ANENABLE) == 0)) { in bnx2_setup_serdes_phy()
1826 bnx2_write_phy(bp, bp->mii_adv, new_adv); in bnx2_setup_serdes_phy()
2057 u32 new_adv = 0; in bnx2_setup_copper_phy() local
2067 new_adv = ethtool_adv_to_mii_adv_t(bp->advertising); in bnx2_setup_copper_phy()
2068 new_adv |= ADVERTISE_CSMA; in bnx2_setup_copper_phy()
2069 new_adv |= bnx2_phy_get_pause_adv(bp); in bnx2_setup_copper_phy()
2074 (adv_reg != new_adv) || in bnx2_setup_copper_phy()
[all …]
Dtg3.c3868 u32 val, new_adv; in tg3_phy_autoneg_cfg() local
3870 new_adv = ADVERTISE_CSMA; in tg3_phy_autoneg_cfg()
3871 new_adv |= ethtool_adv_to_mii_adv_t(advertise) & ADVERTISE_ALL; in tg3_phy_autoneg_cfg()
3872 new_adv |= mii_advertise_flowctrl(flowctrl); in tg3_phy_autoneg_cfg()
3874 err = tg3_writephy(tp, MII_ADVERTISE, new_adv); in tg3_phy_autoneg_cfg()
3879 new_adv = ethtool_adv_to_mii_ctrl1000_t(advertise); in tg3_phy_autoneg_cfg()
3883 new_adv |= CTL1000_AS_MASTER | CTL1000_ENABLE_MASTER; in tg3_phy_autoneg_cfg()
3885 err = tg3_writephy(tp, MII_CTRL1000, new_adv); in tg3_phy_autoneg_cfg()