Changeset 92c70b9 in rtems


Ignore:
Timestamp:
Apr 29, 2009, 8:36:45 AM (10 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
57aa979
Parents:
164adec
Message:

2009-04-29 Chris Johns <chrisj@…>

  • libchip/ide/ata.c: Remove a detection test that fails in qemu.
  • libchip/ide/ide_controller.c: Change the status detection and add a message if the transfer fails. There is currently no error handle at the IDE drvier level.
Location:
c/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r164adec r92c70b9  
     12009-04-29      Chris Johns <chrisj@rtems.org>
     2
     3        * libchip/ide/ata.c: Remove a detection test that fails in qemu.
     4
     5        * libchip/ide/ide_controller.c: Change the status detection and
     6        add a message if the transfer fails. There is currently no error
     7        handle at the IDE drvier level.
     8
    192009-03-12      Daniel Hellstrom <daniel@gaisler.com>
    210
  • c/src/libchip/ide/ata.c

    r164adec r92c70b9  
    609609                          rtems_status_code status, int error)
    610610{
     611#ifdef DEBUG
     612    printf("ata_non_data_request_done: entry\n");
     613#endif
     614   
    611615    areq->status = status;
    612616    areq->error = error;
     
    639643        ata_queue_msg_t msg;
    640644
    641 #ifdef DEBUG
     645#ifdef DEBUG_DOES_NOT_WORK_WITH_QEMU
    642646        uint16_t      val;
    643647        /*
     
    12901294                                          IDE_REGISTER_DEVICE_CONTROL_nIEN);
    12911295        }
    1292 
     1296#if 0
    12931297        /*
    12941298         * Issue EXECUTE DEVICE DIAGNOSTIC ATA command for explore is
     
    13161320        if (breq.req.status != RTEMS_SUCCESSFUL)
    13171321            continue;
    1318 
     1322#endif
     1323        breq.req.error = ATA_DEV0_PASSED_DEV1_PASSED_OR_NOT_PRSNT;
    13191324        /* disassemble returned diagnostic codes */
    13201325        if (breq.req.error == ATA_DEV0_PASSED_DEV1_PASSED_OR_NOT_PRSNT)
  • c/src/libchip/ide/ide_controller.c

    r164adec r92c70b9  
    2626
    2727#if IDE_CONTROLLER_TRACE
    28 int ide_controller_trace;
     28int ide_controller_trace = 1;
    2929#endif
    3030
Note: See TracChangeset for help on using the changeset viewer.