Changeset 157 for trunk/src/os2ahci/os2ahci.c
- Timestamp:
- May 8, 2013, 5:10:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.c
r156 r157 417 417 /* initialization succeeded and we found at least one AHCI adapter */ 418 418 ADD_InitTimer(timer_pool, sizeof(timer_pool)); 419 mdelay_cal();419 //NOT_USED mdelay_cal(); 420 420 421 421 if (DevHelp_RegisterDeviceClass(drv_name, (PFN) add_entry, 0, 1, &add_handle)) { … … 1421 1421 void lock_adapter(AD_INFO *ai) 1422 1422 { 1423 TIMER Timer; 1424 1423 1425 spin_lock(drv_lock); 1424 1426 while (ai->busy) { 1425 1427 spin_unlock(drv_lock); 1426 msleep(250); 1428 timer_init(&Timer, 250); 1429 while (!timer_check_and_block(&Timer)); 1427 1430 spin_lock(drv_lock); 1428 1431 }
Note:
See TracChangeset
for help on using the changeset viewer.