Lines Matching refs:et_cmd
1482 static int nes_netdev_get_settings(struct net_device *netdev, struct ethtool_cmd *et_cmd)
1492 et_cmd->duplex = DUPLEX_FULL;
1493 et_cmd->port = PORT_MII;
1494 et_cmd->maxtxpkt = 511;
1495 et_cmd->maxrxpkt = 511;
1498 et_cmd->speed = SPEED_1000;
1500 et_cmd->supported = SUPPORTED_1000baseT_Full;
1501 et_cmd->advertising = ADVERTISED_1000baseT_Full;
1502 et_cmd->autoneg = AUTONEG_DISABLE;
1503 et_cmd->transceiver = XCVR_INTERNAL;
1504 et_cmd->phy_address = mac_index;
1507 et_cmd->supported = SUPPORTED_1000baseT_Full
1509 et_cmd->advertising = ADVERTISED_1000baseT_Full
1515 et_cmd->autoneg = AUTONEG_ENABLE;
1517 et_cmd->autoneg = AUTONEG_DISABLE;
1518 et_cmd->transceiver = XCVR_EXTERNAL;
1519 et_cmd->phy_address = phy_index;
1526 et_cmd->transceiver = XCVR_EXTERNAL;
1527 et_cmd->port = PORT_FIBRE;
1528 et_cmd->supported = SUPPORTED_FIBRE;
1529 et_cmd->advertising = ADVERTISED_FIBRE;
1530 et_cmd->phy_address = phy_index;
1532 et_cmd->transceiver = XCVR_INTERNAL;
1533 et_cmd->supported = SUPPORTED_10000baseT_Full;
1534 et_cmd->advertising = ADVERTISED_10000baseT_Full;
1535 et_cmd->phy_address = mac_index;
1537 et_cmd->speed = SPEED_10000;
1538 et_cmd->autoneg = AUTONEG_DISABLE;
1546 static int nes_netdev_set_settings(struct net_device *netdev, struct ethtool_cmd *et_cmd)
1560 if (et_cmd->autoneg) {