Changeset 157 for trunk/src/os2ahci/apm.c
- Timestamp:
- May 8, 2013, 5:10:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/apm.c
r153 r157 104 104 int p; 105 105 int d; 106 TIMER Timer; 106 107 107 108 if (suspended) return; … … 115 116 for (p = 0; p <= ai->port_max; p++) { 116 117 /* wait until all active commands have completed on this port */ 118 timer_init(&Timer, 250); 117 119 while (ahci_port_busy(ai, p)) { 118 msleep(250);120 if (timer_check_and_block(&Timer)) break; 119 121 } 120 122
Note:
See TracChangeset
for help on using the changeset viewer.