rem: dprintf(DEVICE_NAME ": no link detected (status = %x)\n", status);
add: LOG((DEVICE_NAME ": no link detected (status = %x)\n", status));
context: wb_read_mode(wb_device *info){	uint16 autoAdv, autoLinkPartner;	int32 speed, duplex;	uint16 status = mii_readstatus(info);	if (!(status & MII_STATUS_LINK)) {		dprintf(DEVICE_NAME ": no link detected (status = %x)\n", status);		return 0;	}	// auto negotiation completed	autoAdv = wb_miibus_readreg(info, info->phy, MII_AUTONEG_ADV);	autoLinkPartner = wb_miibus_readreg(info, info->phy, MII_AUTONEG_LINK_PARTNER);	status = autoAdv & autoLinkPartner;	speed = status & (MII_NWAY_TX | MII_NWAY_TX_FDX) ? LINK_SPEED_100_MBIT : LINK_SPEED_10_MBIT;	duplex = status & (MII_NWAY_TX_FDX | MII_NWAY_T_FDX) ? LINK_FULL_DUPLEX : LINK_HALF_DUPLEX;		info->autoNegotiationComplete = true;	dprintf(DEVICE_NAME ": linked, 10%s MBit, %s duplex\n",				speed == LINK_SPEED_100_MBIT ? "0" : "",				duplex == LINK_FULL_DUPLEX ? "full" : "half");	return speed | duplex;}