Ignore:
Timestamp:
Dec 15, 2016, 12:31:51 AM (9 years ago)
Author:
David Azarewicz
Message:

Reworked makefile
Fixed context hook logic.

File:
1 edited

Legend:

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

    r181 r184  
    422422  if (com_baud) InitComPort(com_baud);
    423423
    424   NTPRINTF("BldLevel: %s\n", BldLevel);
    425   NTPRINTF("CmdLine: %s\n", cmd_line);
     424  dprintf(0,"BldLevel: %s\n", BldLevel);
     425  dprintf(0,"CmdLine: %s\n", cmd_line);
    426426  /*
    427427  if (sizeof(ADD_WORKSPACE) > ADD_WORKSPACE_SIZE)
     
    634634
    635635        /* unit handle outside of the allowed range */
    636         DPRINTF(0,"warning: IORB for %d.%d.%d out of range\n", a, p, d);
     636        dprintf(0,"warning: IORB for %d.%d.%d out of range\n", a, p, d);
    637637        pIorb->Status = IORB_ERROR;
    638638        pIorb->ErrorCode = IOERR_CMD_SYNTAX;
     
    10771077    if ((u32)(pPtr + 1) - (u32)pDt > pIorb_conf->DeviceTableLen)
    10781078    {
    1079       DPRINTF(0,"error: device table provided by DASD too small\n");
     1079      dprintf(0,"error: device table provided by DASD too small\n");
    10801080      iorb_seterr(pIorb, IOERR_CMD_SW_RESOURCE);
    10811081      goto iocm_device_table_done;
     
    11061106        if (ad_info->busy)
    11071107        {
    1108           DPRINTF(0,"error: port scan requested while adapter was busy\n");
     1108          dprintf(0,"error: port scan requested while adapter was busy\n");
    11091109          iorb_seterr(pIorb, IOERR_CMD_SW_RESOURCE);
    11101110          goto iocm_device_table_done;
     
    11181118        if (rc != 0)
    11191119        {
    1120           DPRINTF(0,"error: port scan failed on adapter #%d\n", dta);
     1120          dprintf(0,"error: port scan failed on adapter #%d\n", dta);
    11211121          iorb_seterr(pIorb, IOERR_CMD_SW_RESOURCE);
    11221122          goto iocm_device_table_done;
     
    13121312  }
    13131313
     1314  #ifdef DEBUG
    13141315  if (D32g_DbgLevel)
    13151316  {
     
    13471348           pIorb->Timeout);
    13481349  }
     1350  #endif
    13491351}
    13501352
     
    13851387  }
    13861388
     1389  #ifdef DEBUG
    13871390  if (found)
    13881391  {
     
    13931396    DPRINTF(2,"IORB %x not found in queue %x\n", vIorb, queue);
    13941397  }
     1398  #endif
    13951399
    13961400  return(!found);
     
    15531557
    15541558  Timer_CancelTimer(timer_handle);
    1555   DPRINTF(0,"timeout for IORB %x\n", vIorb);
     1559  dprintf(0,"timeout for IORB %x\n", vIorb);
    15561560
    15571561  /* Move the timed-out IORB to the abort queue. Since it's possible that the
     
    16061610  /* reset watchdog timer */
    16071611  Timer_CancelTimer(timer_handle);
    1608   DPRINTF(0,"reset watchdog invoked\n");
     1612  dprintf(0,"reset watchdog invoked\n");
    16091613
    16101614  /* call context hook manually */
     
    16391643  if ((u32)(pUi + 1) - (u32)pDt > pIorb_conf->DeviceTableLen)
    16401644  {
    1641     DPRINTF(0,"error: device table provided by DASD too small\n");
     1645    dprintf(0,"error: device table provided by DASD too small\n");
    16421646    iorb_seterr(&pIorb_conf->iorbh, IOERR_CMD_SW_RESOURCE);
    16431647    return(-1);
Note: See TracChangeset for help on using the changeset viewer.