if (!(tp->tg3_flags2 & TG3_FLG2_PHY_SERDES)) 
if (!(tp->tg3_flags2 & TG3_FLG2_ANY_SERDES)) 
static int tg3_get_settings(struct net_device *dev, struct ethtool_cmd *cmd){  	struct tg3 *tp = netdev_priv(dev);  	cmd->supported = (SUPPORTED_Autoneg);	if (!(tp->tg3_flags & TG3_FLAG_10_100_ONLY))		cmd->supported |= (SUPPORTED_1000baseT_Half |				   SUPPORTED_1000baseT_Full);	if (!(tp->tg3_flags2 & TG3_FLG2_PHY_SERDES))		cmd->supported |= (SUPPORTED_100baseT_Half |				  SUPPORTED_100baseT_Full |				  SUPPORTED_10baseT_Half |				  SUPPORTED_10baseT_Full |				  SUPPORTED_MII);	else		cmd->supported |= SUPPORTED_FIBRE;  	cmd->advertising = tp->link_config.advertising;	if (netif_running(dev)) {		cmd->speed = tp->link_config.active_speed;		cmd->duplex = tp->link_config.active_duplex;	}	cmd->port = 0;	cmd->phy_address = PHY_ADDR;	cmd->transceiver = 0;	cmd->autoneg = tp->link_config.autoneg;	cmd->maxtxpkt = 0;	cmd->maxrxpkt = 0;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a4e2b347848bf626b822599329933887dc90e50f/tg3.c/clean/drivers/net/tg3.c