static void ide_set_signature(IDEState *s)

{

    s->select &= 0xf0; /* clear head */

    /* put signature */

    s->nsector = 1;

    s->sector = 1;

    if (s->drive_kind == IDE_CD) {

        s->lcyl = 0x14;

        s->hcyl = 0xeb;

    } else if (s->bs) {

        s->lcyl = 0;

        s->hcyl = 0;

    } else {

        s->lcyl = 0xff;

        s->hcyl = 0xff;

    }

}

static void ide_set_signature(IDEState *s)

{

    s->select &= 0xf0; 

    

    s->nsector = 1;

    s->sector = 1;

    if (s->drive_kind == IDE_CD) {

        s->lcyl = 0x14;

        s->hcyl = 0xeb;

    } else if (s->bs) {

        s->lcyl = 0;

        s->hcyl = 0;

    } else {

        s->lcyl = 0xff;

        s->hcyl = 0xff;

    }

}

static void FUNC_0(IDEState *VAR_0)

{

    VAR_0->select &= 0xf0; 

    

    VAR_0->nsector = 1;

    VAR_0->sector = 1;

    if (VAR_0->drive_kind == IDE_CD) {

        VAR_0->lcyl = 0x14;

        VAR_0->hcyl = 0xeb;

    } else if (VAR_0->bs) {

        VAR_0->lcyl = 0;

        VAR_0->hcyl = 0;

    } else {

        VAR_0->lcyl = 0xff;

        VAR_0->hcyl = 0xff;

    }

}

static void FUNC_0(IDEState *VAR_0)
{ VAR_0->select &= 0xf0; VAR_0->nsector = 1; VAR_0->sector = 1; if (VAR_0->drive_kind == IDE_CD) { VAR_0->lcyl = 0x14; VAR_0->hcyl = 0xeb; } else if (VAR_0->bs) { VAR_0->lcyl = 0; VAR_0->hcyl = 0; } else { VAR_0->lcyl = 0xff; VAR_0->hcyl = 0xff; } }