Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/net/
Dtg3.c620 uint32_t new_adv; in tg3_phy_copper_begin() local
633 new_adv = (ADVERTISE_CSMA | ADVERTISE_PAUSE_CAP); in tg3_phy_copper_begin()
635 new_adv |= ADVERTISE_10HALF; in tg3_phy_copper_begin()
638 new_adv |= ADVERTISE_10FULL; in tg3_phy_copper_begin()
641 new_adv |= ADVERTISE_100HALF; in tg3_phy_copper_begin()
644 new_adv |= ADVERTISE_100FULL; in tg3_phy_copper_begin()
646 tg3_writephy(tp, MII_ADVERTISE, new_adv); in tg3_phy_copper_begin()
650 new_adv = 0; in tg3_phy_copper_begin()
652 new_adv |= MII_TG3_CTRL_ADV_1000_HALF; in tg3_phy_copper_begin()
655 new_adv |= MII_TG3_CTRL_ADV_1000_FULL; in tg3_phy_copper_begin()
[all …]
Dbnx2.c786 u32 new_adv = 0; in bnx2_setup_serdes_phy() local
840 new_adv |= ADVERTISE_1000XFULL; in bnx2_setup_serdes_phy()
842 new_adv |= bnx2_phy_get_pause_adv(bp); in bnx2_setup_serdes_phy()
848 if ((adv != new_adv) || ((bmcr & BMCR_ANENABLE) == 0)) { in bnx2_setup_serdes_phy()
859 bnx2_write_phy(bp, MII_ADVERTISE, new_adv); in bnx2_setup_serdes_phy()