SCSI Load Driver Parameter Block
The Start Manager uses this parameter block with theSCSILoadDriver
function to load a driver for a SCSI device. The SCSI load driver parameter block is defined by theSCSI
LoadDriverPB
data type.
struct SCSILoadDriverPB { SCSIPBHdr SInt16 scsiLoadedRefNum; Boolean scsiDiskLoadFailed; }; typedef struct SCSILoadDriverPB SCSILoadDriverPB;
Field Description
SCSIPBHdr
- A macro that includes the SCSI Manager parameter block header, described on page 4-21.
scsiLoadedRefNum
- If the driver is successfully loaded, this field contains the driver reference number returned by the SIM.
scsiDiskLoadFailed
- If this field is set to
true
, the SIM should attempt to load its own driver regardless of whether there is one on the device. If this field is set tofalse
, the SIM has the option of loading a driver from the device or using one of its own.