enum SCSIClientMessage { kClientMsgDeviceAbort = 0x00005000, kClientMsgDeviceReset, kClientMsgBusReset, kClientMsgDone = 0x80000000, };
IOSCSIDevice notifies its client of significant 'events' by the IOService::message() api. When possible the client is notified of the event prior to any action taken. The client is responsible for managing the device queue for the IOSCSIDevice via the holdQueue(), releaseQueue(), flushQueue() and notifyIdle() api's. The client is also notified at the end of an 'event' by the corresponding message id with or'd with kClientMsgDone.
Name Description kClientMsgDeviceAbort A client initiated device abort is beginning. kClientMsgDeviceReset A client initiated device reset is beginning. kClientMsgBusReset An unsolicited bus reset has occurred. kClientMsgDone This constant is or'd with one of the above message ids to indicate the client should complete processing of the corresponding event.
© 2000 Apple Computer, Inc. (Last Updated 2/23/2000)