Ignore:
Timestamp:
Jun 21, 2011, 2:39:30 PM (14 years ago)
Author:
Markus Thielen
Message:

contains CMs changes for unaligned buffers; removed unused stack var; let driver continue boot on unknown command line switch

File:
1 edited

Legend:

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

    r108 r110  
    307307
    308308      default:
    309         cprintf("invalid option: /%c\n", *s);
    310         goto init_fail;
     309        cprintf("unknown option: /%c - ignored\n", *s);
     310        break;
    311311      }
    312312    }
     
    481481 * hand off to a context hook which will continue to trigger the engine until
    482482 * all IORBs have been sent.
     483 *
     484 * NOTE: While initialization has not completed (or during APM suspend/resume
     485 *       operations), this function will loop indefinitely because we can't
     486 *       rely on interrupt handlers or context hooks and complex IORBs
     487 *       requiring multiple requeues would eventually hang and time out if
     488 *       we stopped triggering here.
    483489 */
    484490void trigger_engine(void)
     
    486492  int i;
    487493
    488   for (i = 0; i < 3; i++) {
     494  for (i = 0; i < 3 || !init_complete; i++) {
    489495    if (trigger_engine_1() == 0) {
    490496      /* done -- all IORBs have been sent on their way */
Note: See TracChangeset for help on using the changeset viewer.