Ignore:
Timestamp:
Jul 7, 2011, 1:22:32 PM (14 years ago)
Author:
Markus Thielen
Message:
  • do not initialize com port if base address is 0 (thanks, Steven)
  • trace buffer: wake up waiting processes after data has been written (thanks, Steven)
File:
1 edited

Legend:

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

    r112 r116  
    215215      case 'd':
    216216        /* increase debug level */
    217         if (debug++ == 0) {
    218           init_com();
    219         }
     217        debug++;
    220218        break;
    221219
     
    317315  }
    318316
     317  if (debug) {
     318    /* initialize com port for debug output */
     319    init_com();
     320  }
     321
    319322  /* initialize trace buffer if applicable */
    320323  if (TRACE_ACTIVE) {
Note: See TracChangeset for help on using the changeset viewer.