*s |= ((mii_reg & 0x0800) ? PHY_STAT_100FDX : PHY_STAT_100HDX);
status |= ((mii_reg & 0x0800) ? PHY_STAT_100FDX : PHY_STAT_100HDX);
static void mii_parse_am79c874_dr(uint mii_reg, struct net_device *dev){	struct fec_enet_private *fep = netdev_priv(dev);	volatile uint *s = &(fep->phy_status);	*s &= ~(PHY_STAT_SPMASK | PHY_STAT_ANC);	if (mii_reg & 0x0080)		*s |= PHY_STAT_ANC;	if (mii_reg & 0x0400)		*s |= ((mii_reg & 0x0800) ? PHY_STAT_100FDX : PHY_STAT_100HDX);	else		*s |= ((mii_reg & 0x0800) ? PHY_STAT_10FDX : PHY_STAT_10HDX);}