Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 4 - SCSI Manager 4.3 / SCSI Manager 4.3 Reference
SCSI Manager 4.3 Functions / SIM Internal Functions


SCSIRegisterWithNewXPT

This function informs a SIM that a new XPT layer has been installed. The SIM should call the SCSIReregisterBus function 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.
-->scsiPBLengthUInt16The size of the parameter block.
-->scsiFunctionCodeUInt8The SCSIRegisterWithNewXPT function selector code (0x88).

DESCRIPTION
After a new XPT installs itself, and before it removes the old XPT, it sends the SCSIRegisterWithNewXPT request to all SIMs registered with the old XPT. Each SIM should then call the SCSIReregisterBus function 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
noErr0No error
scsiQLinkInvalid-7881The qLink field was not 0

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996