OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [peripheral/] [atadevice.c] - Diff between revs 919 and 997

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 919 Rev 997
Line 251... Line 251...
        device->sigs.pdiago = 0;
        device->sigs.pdiago = 0;
        device->sigs.daspo  = daspo;
        device->sigs.daspo  = daspo;
 
 
        /* set busy bit                                               */
        /* set busy bit                                               */
        device->regs.status |= ATA_SR_BSY;
        device->regs.status |= ATA_SR_BSY;
        printf("setting status register BSY 0x%2X\n", device->regs.status);
        PRINTF("setting status register BSY 0x%2X\n", device->regs.status);
 
 
        /* set new state                                              */
        /* set new state                                              */
        device->settings.state = ATA_STATE_HW_RST;
        device->settings.state = ATA_STATE_HW_RST;
      }
      }
}
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.