Changeset 110 for trunk/src/os2ahci/os2ahci.c
- Timestamp:
- Jun 21, 2011, 2:39:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.c
r108 r110 307 307 308 308 default: 309 cprintf(" invalid option: /%c\n", *s);310 goto init_fail;309 cprintf("unknown option: /%c - ignored\n", *s); 310 break; 311 311 } 312 312 } … … 481 481 * hand off to a context hook which will continue to trigger the engine until 482 482 * 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. 483 489 */ 484 490 void trigger_engine(void) … … 486 492 int i; 487 493 488 for (i = 0; i < 3 ; i++) {494 for (i = 0; i < 3 || !init_complete; i++) { 489 495 if (trigger_engine_1() == 0) { 490 496 /* done -- all IORBs have been sent on their way */
Note:
See TracChangeset
for help on using the changeset viewer.