Changeset 209 for trunk/src/os2ahci/ctxhook.c
- Timestamp:
- Mar 6, 2021, 7:44:15 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ctxhook.c
r205 r209 97 97 rearm_ctx_hook = 0; 98 98 99 DPRINTF( 8,"restart_ctxhook() started\n");99 DPRINTF(DBG_FUNCBEG, DBG_PREFIX": restart_ctxhook() started\n"); 100 100 memset(&done_queue, 0x00, sizeof(done_queue)); 101 101 … … 124 124 need_reset = 0; 125 125 126 DPRINTF( 8,"port %d, TF_DATA: 0x%x\n", p, readl(port_mmio + PORT_TFDATA));126 DPRINTF(DBG_DETAILED, DBG_PREFIX": port %d, TF_DATA: 0x%x\n", p, readl(port_mmio + PORT_TFDATA)); 127 127 128 128 /* get "current command slot"; only valid if there are no NCQ cmds */ 129 129 ccs = (int) ((readl(port_mmio + PORT_CMD) >> 8) & 0x1f); 130 DPRINTF( 8,"PORT_CMD = 0x%x\n", ccs);130 DPRINTF(DBG_DETAILED, DBG_PREFIX": PORT_CMD = 0x%x\n", ccs); 131 131 132 132 for (vIorb = ai->ports[p].iorb_queue.vRoot; vIorb != FAR16NULL; vIorb = vNext) … … 152 152 { 153 153 /* this is the non-NCQ command that failed */ 154 DPRINTF(0, "failing IORB: %x\n", vIorb);154 DPRINTF(0, DBG_PREFIX": failing IORB: %x\n", vIorb); 155 155 vProblemIorb = vIorb; 156 156 } … … 179 179 if (ai->ports[p].ncq_cmds != 0 || ai->ports[p].reg_cmds != 0) 180 180 { 181 DPRINTF(0, "warning: commands issued not 0 (%08lx/%08lx); resetting...\n",181 DPRINTF(0, DBG_PREFIX": warning: commands issued not 0 (%08lx/%08lx); resetting...\n", 182 182 ai->ports[p].ncq_cmds, ai->ports[p].reg_cmds); 183 183 need_reset = 1; … … 278 278 spin_unlock(drv_lock); 279 279 280 DPRINTF( 8,"restart_ctxhook() completed\n");280 DPRINTF(DBG_FUNCEND, DBG_PREFIX": restart_ctxhook() completed\n"); 281 281 282 282 /* Check whether we have to rearm ourselves because some adapters were busy … … 332 332 rearm_ctx_hook = 0; 333 333 334 DPRINTF( 8,"reset_ctxhook() started\n");334 DPRINTF(DBG_FUNCBEG, DBG_PREFIX": reset_ctxhook() started\n"); 335 335 memset(&done_queue, 0x00, sizeof(done_queue)); 336 336 … … 457 457 spin_unlock(drv_lock); 458 458 459 DPRINTF( 8,"reset_ctxhook() completed\n");459 DPRINTF(DBG_FUNCEND, DBG_PREFIX": reset_ctxhook() completed\n"); 460 460 461 461 /* Check whether we have to rearm ourselves because some adapters were busy … … 489 489 D32ThunkStackTo32(); 490 490 491 DPRINTF( 8,"engine_ctxhook() started\n");491 DPRINTF(DBG_FUNCBEG, DBG_PREFIX": engine_ctxhook() started\n"); 492 492 if (resume_sleep_flag) 493 493 { … … 503 503 spin_unlock(drv_lock); 504 504 505 DPRINTF( 8,"engine_ctxhook() completed\n");505 DPRINTF(DBG_FUNCEND, DBG_PREFIX": engine_ctxhook() completed\n"); 506 506 507 507 if (iorbs_sent != 0)
Note:
See TracChangeset
for help on using the changeset viewer.