AppleGenericPCATAChannel.h [plain text]
#ifndef _APPLEGENERICPCATACHANNEL_H
#define _APPLEGENERICPCATACHANNEL_H
#include <IOKit/IOService.h>
class AppleGenericPCATAChannel : public IOService
{
OSDeclareDefaultStructors( AppleGenericPCATAChannel )
protected:
IOService * fProvider;
virtual bool mergeProperties( OSDictionary * properties );
virtual bool getNumberValue( const char * propKey,
void * outValue,
UInt32 outBits ) const;
public:
virtual bool init( IOService * provider,
OSDictionary * properties,
IORegistryEntry * dtEntry );
virtual UInt16 getCommandBlockAddress( void ) const;
virtual UInt16 getControlBlockAddress( void ) const;
virtual UInt32 getInterruptVector( void ) const;
virtual UInt32 getChannelNumber( void ) const;
virtual UInt32 getPIOMode( void ) const;
virtual bool handleOpen( IOService * client,
IOOptionBits options,
void * arg );
virtual void handleClose( IOService * client,
IOOptionBits options );
};
#endif