rem: {
add: { if (!device->autoNegotiationComplete) { int32 mode = wb_read_mode(device); if (mode) wb_set_mode(device, mode);  return; }  if (device->link)	{ uint16 status = mii_readstatus(device);  if ((status & MII_STATUS_LINK) == 0) { device->link = false; dprintf(DEVICE_NAME ": link lost\n");      } } if (!device->link) { uint16 status;  wb_selectPHY(device);  status = mii_readstatus(device); if (status & MII_STATUS_LINK) {  device->link = true; } }
context: wb_updateLink(struct wb_device *device){	}