Ignore:
Timestamp:
Jun 3, 2020, 5:36:55 PM (5 years ago)
Author:
David Azarewicz
Message:

Variable name changes.

File:
1 edited

Legend:

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

    r201 r204  
    6868int verbosity = 0;     /* default is quiet. 1=show sign on banner, >1=show adapter info during boot */
    6969int use_mbr_test = 1;
    70 long com_baud = 0;
    7170
    7271HDRIVER rm_drvh;           /* resource manager driver handle */
     
    225224    {
    226225      pszCmdLine += 2;
    227       com_baud = strtol(pszCmdLine, &pszCmdLine, 0);
     226      InitComPort(strtol(pszCmdLine, &pszCmdLine, 0));
    228227      continue;
    229228    }
     
    234233      /* set COM port base address for debug messages */
    235234      D32g_ComBase = strtol(pszCmdLine, &pszCmdLine, 0);
     235      #ifdef TESTVER
     236      if (D32g_ComBase == 0) SetPsdPutc();
     237      #endif
    236238      if (D32g_ComBase == 1) D32g_ComBase = 0x3f8;
    237239      if (D32g_ComBase == 2) D32g_ComBase = 0x2f8;
     
    419421  if (iStatus) goto init_fail;
    420422
    421   if (com_baud) InitComPort(com_baud);
    422 
    423423  dprintf(0,"BldLevel: %s\n", BldLevel);
    424424  dprintf(0,"CmdLine: %s\n", cmd_line);
     
    602602     * link in 'vNext'.
    603603     */
    604     if (pIorb->RequestControl & IORB_CHAIN) vNext = pIorb->pNxtIORB;
     604    if (pIorb->RequestControl & IORB_CHAIN) vNext = pIorb->f16NxtIORB;
    605605    else vNext = (IORBH FAR16DATA *)0;
    606606
     
    767767        pIorb = Far16ToFlat(vIorb);
    768768
    769         vNext = pIorb->pNxtIORB;
     769        vNext = pIorb->f16NxtIORB;
    770770        if (!add_workspace(pIorb)->processing)
    771771        {
     
    911911      IORBH *pPtr = Far16ToFlat(vPtr);
    912912
    913       vNext = pPtr->pNxtIORB;
     913      vNext = pPtr->f16NxtIORB;
    914914      /* move all matching IORBs to the abort queue */
    915915      if (vPtr != vIorb && iorb_unit_device(pPtr) == d)
     
    10021002      break;
    10031003    }
    1004     ad_infos[a].ports[p].devs[d].unit_info = pIorb_uc->pUnitInfo;
     1004    ad_infos[a].ports[p].devs[d].unit_info = pIorb_uc->f16UnitInfo;
    10051005    break;
    10061006
     
    10521052
    10531053  pIorb_conf = (IORB_CONFIGURATION *)pIorb;
    1054   vDt = pIorb_conf->pDeviceTable;
     1054  vDt = pIorb_conf->f16DeviceTable;
    10551055  pDt = Far16ToFlat(vDt);
    10561056
     
    10791079    }
    10801080
    1081     pDt->pAdapter[dta] = MakeNear16PtrFromDiff(pIorb_conf->pDeviceTable, pDt, pPtr);
     1081    pDt->pAdapter[dta] = MakeNear16PtrFromDiff(pIorb_conf->f16DeviceTable, pDt, pPtr);
    10821082
    10831083    //DPRINTF(2,"iocm_device_table: ptr=%x dta=%x pAdapter[dta]=%x pDeviceTable=%x\n",
     
    12901290  {
    12911291    /* priority IORB; insert at first position */
    1292     pIorb->pNxtIORB = queue->vRoot;
     1292    pIorb->f16NxtIORB = queue->vRoot;
    12931293    queue->vRoot = vIorb;
    12941294  }
     
    12961296  {
    12971297    /* append IORB to end of queue */
    1298     pIorb->pNxtIORB = FAR16NULL;
     1298    pIorb->f16NxtIORB = FAR16NULL;
    12991299
    13001300    if (queue->vRoot == FAR16NULL)
     
    13041304    else
    13051305    {
    1306       ((IORBH *)Far16ToFlat(queue->vTail))->pNxtIORB = vIorb;
     1306      ((IORBH *)Far16ToFlat(queue->vTail))->f16NxtIORB = vIorb;
    13071307    }
    13081308    queue->vTail = vIorb;
     
    13631363      if (_vPrev != FAR16NULL)
    13641364      {
    1365         ((IORBH*)Far16ToFlat(_vPrev))->pNxtIORB = _pIorb->pNxtIORB;
     1365        ((IORBH*)Far16ToFlat(_vPrev))->f16NxtIORB = _pIorb->f16NxtIORB;
    13661366      }
    13671367      else
    13681368      {
    1369         queue->vRoot = _pIorb->pNxtIORB;
     1369        queue->vRoot = _pIorb->f16NxtIORB;
    13701370      }
    13711371      if (_vIorb == queue->vTail)
     
    13771377    }
    13781378    _vPrev = _vIorb;
    1379     _vIorb = _pIorb->pNxtIORB;
     1379    _vIorb = _pIorb->f16NxtIORB;
    13801380  }
    13811381
     
    14611461  if (pIorb->RequestControl & IORB_ASYNC_POST)
    14621462  {
    1463     Dev32Help_CallFar16((PFNFAR16)pIorb->NotifyAddress, vIorb);
     1463    Dev32Help_CallFar16((PFNFAR16)pIorb->f16NotifyAddress, vIorb);
    14641464  }
    14651465}
     
    16301630                         int a, int p, int d, int scsi_id)
    16311631{
    1632   DEVICETABLE *pDt = Far16ToFlat(pIorb_conf->pDeviceTable);
     1632  DEVICETABLE *pDt = Far16ToFlat(pIorb_conf->f16DeviceTable);
    16331633  ADAPTERINFO *pPtr;
    16341634  UNITINFO *pUi;
    16351635  AD_INFO *ai = ad_infos + a;
    16361636
    1637   pPtr = (ADAPTERINFO *)MakeFlatFromNear16(pIorb_conf->pDeviceTable, pDt->pAdapter[dta]);
     1637  pPtr = (ADAPTERINFO *)MakeFlatFromNear16(pIorb_conf->f16DeviceTable, pDt->pAdapter[dta]);
    16381638  //DPRINTF(2,"add_unit_info: ptr=%x dta=%x pAdapter[dta]=%x pDeviceTable=%x\n",
    16391639  //    ptr, dta, dt->pAdapter[dta], iorb_conf->pDeviceTable);
Note: See TracChangeset for help on using the changeset viewer.