static void eepro100_write(void *opaque, target_phys_addr_t addr,

                           uint64_t data, unsigned size)

{

    EEPRO100State *s = opaque;



    switch (size) {

    case 1:

        eepro100_write1(s, addr, data);

        break;

    case 2:

        eepro100_write2(s, addr, data);

        break;

    case 4:

        eepro100_write4(s, addr, data);

        break;

    default:

        abort();

    }

}

static void eepro100_write(void *opaque, target_phys_addr_t addr,

                           uint64_t data, unsigned size)

{

    EEPRO100State *s = opaque;



    switch (size) {

    case 1:

        eepro100_write1(s, addr, data);

        break;

    case 2:

        eepro100_write2(s, addr, data);

        break;

    case 4:

        eepro100_write4(s, addr, data);

        break;

    default:

        abort();

    }

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,

                           uint64_t VAR_2, unsigned VAR_3)

{

    EEPRO100State *s = VAR_0;



    switch (VAR_3) {

    case 1:

        eepro100_write1(s, VAR_1, VAR_2);

        break;

    case 2:

        eepro100_write2(s, VAR_1, VAR_2);

        break;

    case 4:

        eepro100_write4(s, VAR_1, VAR_2);

        break;

    default:

        abort();

    }

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,
uint64_t VAR_2, unsigned VAR_3)
{ EEPRO100State *s = VAR_0; switch (VAR_3) { case 1:
eepro100_write1(s, VAR_1, VAR_2); break; case 2:
eepro100_write2(s, VAR_1, VAR_2); break; case 4:
eepro100_write4(s, VAR_1, VAR_2); break; default:
abort(); } }