moHidd_StorageController_AddBus
Synopsis
OOP_Object *OOP_DoMethod(OOP_Object *obj, struct pHidd_StorageController_AddBus *Msg);
OOP_Object *Hidd_StorageController_AddBus(OOP_Object *obj, OOP_Class *busClass,
struct TagItem *tags);
Function
Creates a bus driver object and registers it in the controller.
Result
A pointer to bus object or NULL in case of failure.
Notes
Do not dispose the returned bus yourself, use Hidd_StorageController_RemoveBus() for it.
moHidd_StorageController_CleanUpBus
Synopsis
void OOP_DoMethod(OOP_Object *obj, struct pHidd_StorageController_CleanUpBus *Msg);
void Hidd_StorageController_CleanUpBus(OOP_Object *obj, OOP_Object *busObject);
Function
Performs subsystem-specific cleanup before driver object disposal.
This method is intended to be used only by subclasses of CLID_HW.
Notes
In base class this method does nothing.
moHidd_StorageController_EnumBuses
Synopsis
void OOP_DoMethod(OOP_Object *obj, struct pHidd_StorageController_EnumBuses *Msg);
void Hidd_StorageController_EnumBuses(OOP_Object *obj, struct Hook *callback, APTR hookMsg);
Function
Enumerates all installed driver in the subsystem.
moHidd_StorageController_RemoveBus
Synopsis
void OOP_DoMethod(OOP_Object *obj, struct pHidd_StorageController_RemoveBus *Msg);
void Hidd_StorageController_RemoveBus(OOP_Object *obj, OOP_Object *driver);
Function
Unregisters and disposes hardware bus object.
Result
TRUE if removal successful or FALSE upon failure.
moHidd_StorageController_SetUpBus
Synopsis
void OOP_DoMethod(OOP_Object *obj, struct pHidd_StorageController_SetUpBus *Msg);
void Hidd_StorageController_SetUpBus(OOP_Object *obj, OOP_Object *busObject);
Function
Performs subsystem-specific setup after driver object creation.
This method is intended to be used only by subclasses of CLID_HW.
Result
TRUE if setup completed successfully and FALSE in case of error.
If this method returns error, the driver object will be disposed
and moHidd_StorageController_AddBus method will fail.
Notes
In base class this method does nothing and always returns TRUE.