Ignore:
Timestamp:
May 19, 2000, 3:07:00 PM (25 years ago)
Author:
sandervl
Message:

PD:bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wnaspi32/aspilib.cpp

    r3541 r3564  
    325325//*                                                                         *
    326326//***************************************************************************
    327 ULONG scsiObj::getDeviceType(UCHAR id, UCHAR lun)
     327ULONG scsiObj::getDeviceType(UCHAR ha_num, UCHAR id, UCHAR lun)
    328328{
    329329  ULONG rc;                                     // return value
     
    332332
    333333  SRBlock.cmd=SRB_Device;                       // get device type
    334   SRBlock.ha_num=0;                             // host adapter number
     334  SRBlock.ha_num=ha_num;                        // host adapter number
    335335  SRBlock.flags=0;                              // no flags set
    336336  SRBlock.u.dev.target=id;                      // target id
     
    360360//*                                                                         *
    361361//***************************************************************************
    362 ULONG scsiObj::resetDevice(UCHAR id, UCHAR lun)
     362ULONG scsiObj::resetDevice(UCHAR ha_num,UCHAR id, UCHAR lun)
    363363{
    364364  ULONG rc;                                     // return value
     
    368368
    369369  SRBlock.cmd=SRB_Reset;                        // reset device
    370   SRBlock.ha_num=0;                             // host adapter number
     370  SRBlock.ha_num=ha_num;                        // host adapter number
    371371  SRBlock.flags=SRB_Post;                       // posting enabled
    372372  SRBlock.u.res.target=id;                      // target id
     
    418418  return 0;
    419419}
    420 
     420//***************************************************************************
     421//***************************************************************************
    421422ULONG scsiObj::getNumHosts()
    422423{ int i,j=0;
     
    430431  return j;
    431432}
    432 
    433 //***************************************************************************
    434 //*                                                                         *
     433//***************************************************************************
    435434//***************************************************************************
    436435ULONG scsiObj::SendSRBlock(VOID)
     
    448447                      &ulReturn);
    449448}
    450 
     449//***************************************************************************
     450//***************************************************************************
    451451BOOL fGainDrvAccess( BOOL fWait,
    452452                     ULONG *phSem)
     
    474474  return TRUE;
    475475}
    476 
     476//***************************************************************************
     477//***************************************************************************
    477478BOOL fReleaseDrvAccess(ULONG hSem)
    478479{
Note: See TracChangeset for help on using the changeset viewer.