cmd->advertising |= ADVERTISE_10FULL; 
cmd->advertising |= ADVERTISED_10baseT_Full; 
static int b44_get_settings(struct net_device *dev, struct ethtool_cmd *cmd){	struct b44 *bp = netdev_priv(dev);	if (!(bp->flags & B44_FLAG_INIT_COMPLETE))		return -EAGAIN;	cmd->supported = (SUPPORTED_Autoneg);	cmd->supported |= (SUPPORTED_100baseT_Half |			  SUPPORTED_100baseT_Full |			  SUPPORTED_10baseT_Half |			  SUPPORTED_10baseT_Full |			  SUPPORTED_MII);	cmd->advertising = 0;	if (bp->flags & B44_FLAG_ADV_10HALF)		cmd->advertising |= ADVERTISE_10HALF;	if (bp->flags & B44_FLAG_ADV_10FULL)		cmd->advertising |= ADVERTISE_10FULL;	if (bp->flags & B44_FLAG_ADV_100HALF)		cmd->advertising |= ADVERTISE_100HALF;	if (bp->flags & B44_FLAG_ADV_100FULL)		cmd->advertising |= ADVERTISE_100FULL;	cmd->advertising |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM;	cmd->speed = (bp->flags & B44_FLAG_100_BASE_T) ?		SPEED_100 : SPEED_10;	cmd->duplex = (bp->flags & B44_FLAG_FULL_DUPLEX) ?		DUPLEX_FULL : DUPLEX_HALF;	cmd->port = 0;	cmd->phy_address = bp->phy_addr;	cmd->transceiver = (bp->flags & B44_FLAG_INTERNAL_PHY) ?		XCVR_INTERNAL : XCVR_EXTERNAL;	cmd->autoneg = (bp->flags & B44_FLAG_FORCE_LINK) ?		AUTONEG_DISABLE : AUTONEG_ENABLE;	cmd->maxtxpkt = 0;	cmd->maxrxpkt = 0;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/adf6e00064ebcd3d82009ba6ef66f489f0885ebd/b44.c/buggy/drivers/net/b44.c