Changeset 210


Ignore:
Timestamp:
Jul 17, 2017, 1:16:13 PM (4 years ago)
Author:
max@…
Message:

advance a bit, and panic on error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/drivers/soclib_bdv.c

    r203 r210  
    105105        /* wait for the drive to signal that it's ready */
    106106        if (ata_wait() == -1)
    107                 return -1;
     107                x86_panic("ata_wait");
    108108
    109109        for (idx = 0; idx < 256 * count; idx++) {
     
    123123        /* wait for the drive to signal that it's ready */
    124124        if (ata_wait() == -1)
    125                 return -1;
     125                x86_panic("ata_wait");
    126126
    127127        for (idx = 0; idx < 256 * count; idx++) {
     
    176176/* -------------------------------------------------------------------------- */
    177177
    178 
    179178void soclib_bdv_init( chdev_t * chdev )
    180179{
     
    213212                x86_panic("!IOC_SYNC_READ not supported");
    214213        }
    215 
    216         x86_panic("STOP HERE");
    217214}
    218215
Note: See TracChangeset for help on using the changeset viewer.