Important: The information in this document is obsolete and should not be used for new development.
SCSIRegisterWithNewXPT
This function informs a SIM that a new XPT layer has been installed. The SIM should call theSCSIReregisterBusfunction to register itself with the new XPT.
typedef void (*SIMActionProc) (void * scsiPB, Ptr SIMGlobals);
- scsiPB
- A pointer to a SCSI Manager parameter block.
SIMGlobals- A pointer to the SIM's static data storage.
--> scsiPBLength UInt16 The size of the parameter block. --> scsiFunctionCode UInt8 The SCSIRegisterWithNewXPTfunction selector code (0x88).DESCRIPTION
After a new XPT installs itself, and before it removes the old XPT, it sends theSCSIRegisterWithNewXPTrequest to all SIMs registered with the old XPT. Each SIM should then call theSCSIReregisterBusfunction to register with the new XPT. This allows SIMs to keep their existing bus number and static data storage when installing themselves in a new XPT.RESULT CODES
noErr 0 No error scsiQLinkInvalid -7881 The qLinkfield was not 0