cmd->supported = 	SUPPORTED_10baseT_Half | 
cmd->supported = 	SUPPORTED_10baseT_Half | 
static int eepro_ethtool_get_settings(struct net_device *dev,					struct ethtool_cmd *cmd){	struct eepro_local	*lp = (struct eepro_local *)dev->priv;	cmd->supported = 	SUPPORTED_10baseT_Half | 				SUPPORTED_10baseT_Full |				SUPPORTED_Autoneg;	cmd->advertising =	ADVERTISED_10baseT_Half |				ADVERTISED_10baseT_Full |				ADVERTISED_Autoneg;	if (GetBit(lp->word[5], ee_PortTPE)) {		cmd->supported |= SUPPORTED_TP;		cmd->advertising |= ADVERTISED_TP;	}	if (GetBit(lp->word[5], ee_PortBNC)) {		cmd->supported |= SUPPORTED_BNC;		cmd->advertising |= ADVERTISED_BNC;	}	if (GetBit(lp->word[5], ee_PortAUI)) {		cmd->supported |= SUPPORTED_AUI;		cmd->advertising |= ADVERTISED_AUI;	}	cmd->speed = SPEED_10;	if (dev->if_port == TPE && lp->word[1] & ee_Duplex) {		cmd->duplex = DUPLEX_FULL;	}	else {		cmd->duplex = DUPLEX_HALF;	}	cmd->port = dev->if_port;	cmd->phy_address = dev->base_addr;	cmd->transceiver = XCVR_INTERNAL;	if (lp->word[0] & ee_AutoNeg) {		cmd->autoneg = 1;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d61780c0d384939ef31c46b47442854d5def4623/eepro.c/buggy/drivers/net/eepro.c