rem: DEBUGOUT("EEPROM Read Error\n");
add: HW_DEBUGOUT("EEPROM Read Error");
context: em_id_led_init(struct em_hw * hw){    uint32_t ledctl;    const uint32_t ledctl_mask = 0x000000FF;    const uint32_t ledctl_on = E1000_LEDCTL_MODE_LED_ON;    const uint32_t ledctl_off = E1000_LEDCTL_MODE_LED_OFF;    uint16_t eeprom_data, i, temp;    const uint16_t led_mask = 0x0F;    DEBUGFUNC("em_id_led_init");    if(hw->mac_type < em_82540) {        /* Nothing to do */        return E1000_SUCCESS;    }    ledctl = E1000_READ_REG(hw, LEDCTL);    hw->ledctl_default = ledctl;    hw->ledctl_mode1 = hw->ledctl_default;    hw->ledctl_mode2 = hw->ledctl_default;    if(em_read_eeprom(hw, EEPROM_ID_LED_SETTINGS, 1, &eeprom_data) < 0) {        DEBUGOUT("EEPROM Read Error\n");        return -E1000_ERR_EEPROM;    }    if((eeprom_data== ID_LED_RESERVED_0000) ||       (eeprom_data == ID_LED_RESERVED_FFFF)) eeprom_data = ID_LED_DEFAULT;    for(i = 0; i < 4; i++) {        temp = (eeprom_data >> (i << 2)) & led_mask;        switch(temp) {        case ID_LED_ON1_DEF2:        case ID_LED_ON1_ON2:        case ID_LED_ON1_OFF2:            hw->ledctl_mode1 &= ~(ledctl_mask << (i << 3));            hw->ledctl_mode1 |= ledctl_on << (i << 3);            break;        case ID_LED_OFF1_DEF2:        case ID_LED_OFF1_ON2:        case ID_LED_OFF1_OFF2:            hw->ledctl_mode1 &= ~(ledctl_mask << (i << 3));            hw->ledctl_mode1 |= ledctl_off << (i << 3);            break;        default:            /* Do nothing */            break;        }        switch(temp) {        case ID_LED_DEF1_ON2:        case ID_LED_ON1_ON2:        case ID_LED_OFF1_ON2:            hw->ledctl_mode2 &= ~(ledctl_mask << (i << 3));            hw->ledctl_mode2 |= ledctl_on << (i << 3);            break;        case ID_LED_DEF1_OFF2:        case ID_LED_ON1_OFF2:        case ID_LED_OFF1_OFF2:            hw->ledctl_mode2 &= ~(ledctl_mask << (i << 3));            hw->ledctl_mode2 |= ledctl_off << (i << 3);            break;        default:            /* Do nothing */            break;        }    }    return E1000_SUCCESS;}