Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice