static void ide_atapi_cmd_ok(IDEState *s)

{

    s->error = 0;

    s->status = READY_STAT;

    s->nsector = (s->nsector & ~7) | ATAPI_INT_REASON_IO | ATAPI_INT_REASON_CD;

    ide_set_irq(s);

}

static void ide_atapi_cmd_ok(IDEState *s)

{

    s->error = 0;

    s->status = READY_STAT;

    s->nsector = (s->nsector & ~7) | ATAPI_INT_REASON_IO | ATAPI_INT_REASON_CD;

    ide_set_irq(s);

}

static void FUNC_0(IDEState *VAR_0)

{

    VAR_0->error = 0;

    VAR_0->status = READY_STAT;

    VAR_0->nsector = (VAR_0->nsector & ~7) | ATAPI_INT_REASON_IO | ATAPI_INT_REASON_CD;

    ide_set_irq(VAR_0);

}

static void FUNC_0(IDEState *VAR_0)
{ VAR_0->error = 0; VAR_0->status = READY_STAT; VAR_0->nsector = (VAR_0->nsector & ~7) | ATAPI_INT_REASON_IO | ATAPI_INT_REASON_CD; ide_set_irq(VAR_0); }