Changeset 202


Ignore:
Timestamp:
Aug 24, 2019, 9:07:11 PM (6 years ago)
Author:
David Azarewicz
Message:

Added reset counter.

Location:
trunk/src/os2ahci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/ctxhook.c

    r201 r202  
    342342  rearm_ctx_hook = 0;
    343343
    344   //DPRINTF(8,"reset_ctxhook() started\n");
    345   dprintf(0, __func__": BEG\n");
     344  DPRINTF(8,"reset_ctxhook() started\n");
    346345  memset(&done_queue, 0x00, sizeof(done_queue));
    347346
     
    400399      {
    401400        ports_to_reset[a] &= ~(1UL << p);
     401        ai->ports[p].ulResetCount++;
    402402
    403403        /* Reset this port. Since this is a rather slow operation, we'll
     
    483483  }
    484484
    485   dprintf(0,__func__": END\n");
    486485  KernThunkStackTo16();
    487486}
  • trunk/src/os2ahci/os2ahci.h

    r198 r202  
    262262    unsigned dev_type  :5;        /* device type (UIB_TYPE_* in iorb.h) */
    263263    unsigned ncq_max   :5;        /* maximum tag number for queued commands */
    264     unsigned ignored   :1;        /* if != 0, device is not MBR */
     264    unsigned ignored   :1;        /* if != 0, device is not MBR added in 2.06 */
    265265    UNITINFO *unit_info;          /* pointer to modified unit info */
    266266    DEV_INFO dev_info;
     
    270270  u32 unaligned_read_count;
    271271  u32 error_count;
     272  u32 ulResetCount; /* added in 2.07 */
    272273} P_INFO;
    273274
Note: See TracChangeset for help on using the changeset viewer.