/linux-2.6.39/drivers/net/ |
D | mii.c | 91 ecmd->advertising = ADVERTISED_TP | ADVERTISED_MII; in mii_ethtool_gset() 100 ecmd->advertising |= ADVERTISED_Autoneg; in mii_ethtool_gset() 103 ecmd->advertising |= mii_get_an(mii, MII_ADVERTISE); in mii_ethtool_gset() 105 ecmd->advertising |= ADVERTISED_1000baseT_Half; in mii_ethtool_gset() 107 ecmd->advertising |= ADVERTISED_1000baseT_Full; in mii_ethtool_gset() 121 nego = ecmd->advertising & ecmd->lp_advertising; in mii_ethtool_gset() 185 if ((ecmd->advertising & (ADVERTISED_10baseT_Half | in mii_ethtool_sset() 200 if (ecmd->advertising & ADVERTISED_10baseT_Half) in mii_ethtool_sset() 202 if (ecmd->advertising & ADVERTISED_10baseT_Full) in mii_ethtool_sset() 204 if (ecmd->advertising & ADVERTISED_100baseT_Half) in mii_ethtool_sset() [all …]
|
D | mdio.c | 216 ecmd->advertising = ADVERTISED_TP; in mdio45_ethtool_gset_npage() 222 ecmd->advertising = 0; in mdio45_ethtool_gset_npage() 242 ecmd->advertising = ADVERTISED_Backplane; in mdio45_ethtool_gset_npage() 249 ecmd->advertising = ADVERTISED_FIBRE; in mdio45_ethtool_gset_npage() 259 ecmd->advertising |= in mdio45_ethtool_gset_npage() 282 modes = ecmd->advertising & ecmd->lp_advertising; in mdio45_ethtool_gset_npage() 285 modes = ecmd->advertising; in mdio45_ethtool_gset_npage()
|
D | natsemi.c | 589 u16 advertising; member 757 np->advertising= mdio_read(dev, MII_ADVERTISE); in natsemi_init_media() 759 if ((np->advertising & ADVERTISE_ALL) != ADVERTISE_ALL && in natsemi_init_media() 766 (np->advertising & in natsemi_init_media() 769 (np->advertising & in natsemi_init_media() 777 np->advertising); in natsemi_init_media() 1159 np->advertising != mdio_read(dev, MII_ADVERTISE)) in init_phy_fixup() 1163 mdio_write(dev, MII_ADVERTISE, np->advertising); in init_phy_fixup() 1685 np->advertising & mdio_read(dev, MII_LPA)); in check_link() 2398 np->advertising, lpa); in netdev_error() [all …]
|
D | sc92031.c | 1153 cmd->advertising = ADVERTISED_TP | ADVERTISED_MII; in sc92031_ethtool_get_settings() 1157 cmd->advertising |= ADVERTISED_Autoneg; in sc92031_ethtool_get_settings() 1160 cmd->advertising |= ADVERTISED_10baseT_Half; in sc92031_ethtool_get_settings() 1164 cmd->advertising |= ADVERTISED_10baseT_Full; in sc92031_ethtool_get_settings() 1167 cmd->advertising |= ADVERTISED_100baseT_Half; in sc92031_ethtool_get_settings() 1171 cmd->advertising |= ADVERTISED_100baseT_Full; in sc92031_ethtool_get_settings() 1174 cmd->advertising |= ADVERTISED_Autoneg; in sc92031_ethtool_get_settings() 1208 if (!(cmd->advertising & (ADVERTISED_Autoneg in sc92031_ethtool_set_settings() 1218 if (cmd->advertising & ADVERTISED_Autoneg) in sc92031_ethtool_set_settings() 1220 if (cmd->advertising & ADVERTISED_100baseT_Full) in sc92031_ethtool_set_settings() [all …]
|
D | bnx2.c | 1380 bp->advertising |= ADVERTISED_2500baseX_Full; in bnx2_test_and_enable_2g5() 1676 if (bp->advertising & ADVERTISED_10baseT_Half) in bnx2_setup_remote_phy() 1678 if (bp->advertising & ADVERTISED_10baseT_Full) in bnx2_setup_remote_phy() 1680 if (bp->advertising & ADVERTISED_100baseT_Half) in bnx2_setup_remote_phy() 1682 if (bp->advertising & ADVERTISED_100baseT_Full) in bnx2_setup_remote_phy() 1684 if (bp->advertising & ADVERTISED_1000baseT_Full) in bnx2_setup_remote_phy() 1686 if (bp->advertising & ADVERTISED_2500baseX_Full) in bnx2_setup_remote_phy() 1801 if (bp->advertising & ADVERTISED_1000baseT_Full) in bnx2_setup_serdes_phy() 1869 bp->advertising = ADVERTISED_Autoneg; in bnx2_set_default_remote_link() 1871 bp->advertising |= ADVERTISED_10baseT_Half; in bnx2_set_default_remote_link() [all …]
|
D | sungem_phy.h | 41 u32 advertising; member
|
D | b44.c | 1800 cmd->advertising = 0; in b44_get_settings() 1802 cmd->advertising |= ADVERTISED_10baseT_Half; in b44_get_settings() 1804 cmd->advertising |= ADVERTISED_10baseT_Full; in b44_get_settings() 1806 cmd->advertising |= ADVERTISED_100baseT_Half; in b44_get_settings() 1808 cmd->advertising |= ADVERTISED_100baseT_Full; in b44_get_settings() 1809 cmd->advertising |= ADVERTISED_Pause | ADVERTISED_Asym_Pause; in b44_get_settings() 1821 cmd->advertising |= ADVERTISED_Autoneg; in b44_get_settings() 1837 if (cmd->advertising & in b44_set_settings() 1858 if (cmd->advertising == 0) { in b44_set_settings() 1864 if (cmd->advertising & ADVERTISED_10baseT_Half) in b44_set_settings() [all …]
|
/linux-2.6.39/drivers/net/atl1e/ |
D | atl1e_ethtool.c | 44 ecmd->advertising = ADVERTISED_TP; in atl1e_get_settings() 46 ecmd->advertising |= ADVERTISED_Autoneg; in atl1e_get_settings() 47 ecmd->advertising |= hw->autoneg_advertised; in atl1e_get_settings() 80 if ((ecmd->advertising&ADVERTISE_1000_FULL)) { in atl1e_set_settings() 83 ecmd->advertising & AT_ADV_MASK; in atl1e_set_settings() 88 } else if (ecmd->advertising&ADVERTISE_1000_HALF) { in atl1e_set_settings() 93 ecmd->advertising & AT_ADV_MASK; in atl1e_set_settings() 95 ecmd->advertising = hw->autoneg_advertised | in atl1e_set_settings()
|
/linux-2.6.39/drivers/net/phy/ |
D | phy.c | 246 cmd->advertising &= phydev->supported; in phy_ethtool_sset() 252 if (cmd->autoneg == AUTONEG_ENABLE && cmd->advertising == 0) in phy_ethtool_sset() 267 phydev->advertising = cmd->advertising; in phy_ethtool_sset() 270 phydev->advertising |= ADVERTISED_Autoneg; in phy_ethtool_sset() 272 phydev->advertising &= ~ADVERTISED_Autoneg; in phy_ethtool_sset() 287 cmd->advertising = phydev->advertising; in phy_ethtool_gset() 346 phydev->advertising = val; in phy_mii_ioctl()
|
D | phy_device.c | 557 phydev->advertising &= phydev->supported; in genphy_config_advert() 558 advertise = phydev->advertising; in genphy_config_advert() 881 phydev->advertising = features; in genphy_config_init() 948 phydev->advertising = phydrv->features; in phy_probe()
|
/linux-2.6.39/drivers/net/tulip/ |
D | media.c | 314 tp->advertising[phy_num] = tmp_info | 1; in tulip_select_media() 317 tp->mii_advertise = tp->advertising[phy_num]; in tulip_select_media() 429 negotiated = lpa & tp->advertising[0]; in tulip_check_duplex() 490 tp->advertising[phy_idx] = in tulip_find_mii() 492 } else if (tp->advertising[phy_idx]) { in tulip_find_mii() 493 to_advert = tp->advertising[phy_idx]; in tulip_find_mii() 495 tp->advertising[phy_idx] = in tulip_find_mii()
|
/linux-2.6.39/drivers/net/sfc/ |
D | mdio_10g.c | 239 if (ecmd->advertising == prev.advertising && in efx_mdio_set_settings() 252 (ecmd->advertising | SUPPORTED_Autoneg) & ~prev.supported) in efx_mdio_set_settings() 255 efx_link_set_advertising(efx, ecmd->advertising | ADVERTISED_Autoneg); in efx_mdio_set_settings()
|
D | tenxpress.c | 474 static void sfx7101_set_npage_adv(struct efx_nic *efx, u32 advertising) in sfx7101_set_npage_adv() argument 478 advertising & ADVERTISED_10000baseT_Full); in sfx7101_set_npage_adv()
|
/linux-2.6.39/drivers/net/netxen/ |
D | netxen_nic_ethtool.c | 113 ecmd->advertising = (ADVERTISED_100baseT_Half | in netxen_nic_get_settings() 130 ecmd->advertising = ADVERTISED_1000baseT_Full; in netxen_nic_get_settings() 133 ecmd->advertising = ADVERTISED_10000baseT_Full; in netxen_nic_get_settings() 171 ecmd->advertising |= ADVERTISED_Autoneg; in netxen_nic_get_settings() 177 ecmd->advertising |= ADVERTISED_TP; in netxen_nic_get_settings() 189 ecmd->advertising |= ADVERTISED_MII; in netxen_nic_get_settings() 196 ecmd->advertising |= ADVERTISED_TP; in netxen_nic_get_settings() 203 ecmd->advertising |= ADVERTISED_FIBRE; in netxen_nic_get_settings() 211 ecmd->advertising |= in netxen_nic_get_settings() 218 ecmd->advertising |= in netxen_nic_get_settings()
|
/linux-2.6.39/drivers/net/arm/ |
D | ks8695net.c | 873 cmd->advertising = ADVERTISED_TP | ADVERTISED_MII; in ks8695_wan_get_settings() 881 cmd->advertising |= ADVERTISED_Autoneg; in ks8695_wan_get_settings() 883 cmd->advertising |= ADVERTISED_100baseT_Full; in ks8695_wan_get_settings() 885 cmd->advertising |= ADVERTISED_100baseT_Half; in ks8695_wan_get_settings() 887 cmd->advertising |= ADVERTISED_10baseT_Full; in ks8695_wan_get_settings() 889 cmd->advertising |= ADVERTISED_10baseT_Half; in ks8695_wan_get_settings() 891 cmd->advertising |= ADVERTISED_Pause; in ks8695_wan_get_settings() 934 if ((cmd->advertising & (ADVERTISED_10baseT_Half | in ks8695_wan_set_settings() 944 if (cmd->advertising & ADVERTISED_100baseT_Full) in ks8695_wan_set_settings() 946 if (cmd->advertising & ADVERTISED_100baseT_Half) in ks8695_wan_set_settings() [all …]
|
/linux-2.6.39/drivers/net/qlcnic/ |
D | qlcnic_ethtool.c | 164 ecmd->advertising = (ADVERTISED_100baseT_Half | in qlcnic_get_settings() 179 ecmd->advertising = ADVERTISED_1000baseT_Full; in qlcnic_get_settings() 182 ecmd->advertising = ADVERTISED_10000baseT_Full; in qlcnic_get_settings() 210 ecmd->advertising |= ADVERTISED_Autoneg; in qlcnic_get_settings() 215 ecmd->advertising |= ADVERTISED_TP; in qlcnic_get_settings() 223 ecmd->advertising |= ADVERTISED_MII; in qlcnic_get_settings() 230 ecmd->advertising |= ADVERTISED_TP; in qlcnic_get_settings() 236 ecmd->advertising |= ADVERTISED_FIBRE; in qlcnic_get_settings() 244 ecmd->advertising |= in qlcnic_get_settings() 252 ecmd->advertising |= in qlcnic_get_settings()
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_ethtool.c | 174 cmd->advertising = bp->port.advertising[cfg_idx]; in bnx2x_get_settings() 212 cmd->cmd, cmd->supported, cmd->advertising, cmd->speed, in bnx2x_get_settings() 222 u32 advertising, cfg_idx, old_multi_phy_config, new_multi_phy_config; in bnx2x_set_settings() local 232 cmd->cmd, cmd->supported, cmd->advertising, cmd->speed, in bnx2x_set_settings() 333 cmd->advertising &= bp->port.supported[cfg_idx]; in bnx2x_set_settings() 337 bp->port.advertising[cfg_idx] |= (ADVERTISED_Autoneg | in bnx2x_set_settings() 338 cmd->advertising); in bnx2x_set_settings() 352 advertising = (ADVERTISED_10baseT_Full | in bnx2x_set_settings() 362 advertising = (ADVERTISED_10baseT_Half | in bnx2x_set_settings() 376 advertising = (ADVERTISED_100baseT_Full | in bnx2x_set_settings() [all …]
|
/linux-2.6.39/drivers/net/chelsio/ |
D | cxgb2.c | 579 cmd->advertising = p->link_config.advertising; in get_settings() 649 lc->advertising = 0; in set_settings() 651 cmd->advertising &= ADVERTISED_MASK; in set_settings() 652 if (cmd->advertising & (cmd->advertising - 1)) in set_settings() 653 cmd->advertising = lc->supported; in set_settings() 654 cmd->advertising &= lc->supported; in set_settings() 655 if (!cmd->advertising) in set_settings() 659 lc->advertising = cmd->advertising | ADVERTISED_Autoneg; in set_settings()
|
D | subr.c | 629 lc->advertising &= ~(ADVERTISED_ASYM_PAUSE | ADVERTISED_PAUSE); in t1_link_start() 633 lc->advertising |= ADVERTISED_PAUSE; in t1_link_start() 635 lc->advertising |= ADVERTISED_ASYM_PAUSE; in t1_link_start() 637 lc->advertising |= ADVERTISED_PAUSE; in t1_link_start() 640 phy->ops->advertise(phy, lc->advertising); in t1_link_start() 1039 lc->advertising = lc->supported; in init_link_config() 1043 lc->advertising = 0; in init_link_config()
|
/linux-2.6.39/drivers/net/ibm_newemac/ |
D | phy.h | 55 u32 advertising; /* Ethtool ADVERTISED_* defines */ member
|
D | phy.c | 114 phy->advertising = advertise; in genmii_setup_aneg() 487 phy->advertising = 0; in emac_mii_phy_probe() 533 phy->advertising = phy->features; in emac_mii_phy_probe()
|
/linux-2.6.39/drivers/net/ixgbe/ |
D | ixgbe_ethtool.c | 163 ecmd->advertising = ADVERTISED_Autoneg; in ixgbe_get_settings() 167 ecmd->advertising |= ADVERTISED_100baseT_Full; in ixgbe_get_settings() 170 ecmd->advertising |= ADVERTISED_10000baseT_Full; in ixgbe_get_settings() 173 ecmd->advertising |= ADVERTISED_1000baseT_Full; in ixgbe_get_settings() 179 ecmd->advertising |= (ADVERTISED_10000baseT_Full | in ixgbe_get_settings() 182 ecmd->advertising |= ADVERTISED_100baseT_Full; in ixgbe_get_settings() 187 ecmd->advertising |= ADVERTISED_TP; in ixgbe_get_settings() 191 ecmd->advertising |= ADVERTISED_FIBRE; in ixgbe_get_settings() 199 ecmd->advertising = (ADVERTISED_1000baseT_Full | in ixgbe_get_settings() 208 ecmd->advertising = (ADVERTISED_10000baseT_Full | in ixgbe_get_settings() [all …]
|
/linux-2.6.39/drivers/net/pcmcia/ |
D | 3c574_cs.c | 201 u16 advertising, partner; /* NWay media advertisement */ member 418 lp->advertising = mdio_read(ioaddr, lp->phys, 4); in tc574_config() 421 lp->advertising &= ~0x02a0; in tc574_config() 422 mdio_write(ioaddr, lp->phys, 4, lp->advertising); in tc574_config() 652 mdio_write(ioaddr, lp->phys, 4, lp->advertising); in tc574_reset() 910 partner &= lp->advertising; in media_check()
|
/linux-2.6.39/drivers/net/ehea/ |
D | ehea_ethtool.c | 60 cmd->advertising = (ADVERTISED_10000baseT_Full | ADVERTISED_FIBRE); in ehea_get_settings() 67 cmd->advertising = (ADVERTISED_1000baseT_Full | ADVERTISED_Autoneg in ehea_get_settings()
|
/linux-2.6.39/drivers/net/atl1c/ |
D | atl1c_ethtool.c | 44 ecmd->advertising = ADVERTISED_TP; in atl1c_get_settings() 46 ecmd->advertising |= hw->autoneg_advertised; in atl1c_get_settings()
|