IOUSBRootHubDevice.h [plain text]
#ifndef _IOKIT_IOUSBROOTHUBDEVICE_H
#define _IOKIT_IOUSBROOTHUBDEVICE_H
#include <IOKit/usb/IOUSBHubDevice.h>
class IOUSBRootHubDevice : public IOUSBHubDevice
{
OSDeclareDefaultStructors(IOUSBRootHubDevice)
private:
UInt16 configuration;
IOCommandGate *_commandGate;
virtual bool InitializeCharacteristics(void);
struct ExpansionData
{
};
ExpansionData *_expansionData;
public:
static IOUSBRootHubDevice *NewRootHubDevice(void);
static IOReturn GatedDeviceRequest (OSObject * owner,
void * arg0,
void * arg1,
void * arg2,
void * arg3 );
virtual bool init();
virtual bool start( IOService * provider );
virtual void stop( IOService *provider );
virtual void free();
virtual bool IsRootHub(void);
virtual UInt32 RequestExtraPower(UInt32 requestedPower);
virtual void ReturnExtraPower(UInt32 returnedPower);
IOReturn DeviceRequestWorker(IOUSBDevRequest *request, UInt32 noDataTimeout, UInt32 completionTimeout, IOUSBCompletion *completion);
virtual IOReturn DeviceRequest(IOUSBDevRequest *request, IOUSBCompletion *completion = 0);
virtual IOReturn DeviceRequest(IOUSBDevRequest *request, UInt32 noDataTimeout, UInt32 completionTimeout, IOUSBCompletion *completion = 0);
OSMetaClassDeclareReservedUnused(IOUSBRootHubDevice, 0);
OSMetaClassDeclareReservedUnused(IOUSBRootHubDevice, 1);
OSMetaClassDeclareReservedUnused(IOUSBRootHubDevice, 2);
OSMetaClassDeclareReservedUnused(IOUSBRootHubDevice, 3);
OSMetaClassDeclareReservedUnused(IOUSBRootHubDevice, 4);
};
#endif