1// 2// AppleARMSoftIICController 3// 4// rms 5// 6 7#include "AppleARMIO.h" 8#include "AppleARMSoftIICController.h" 9 10#define super IOService 11OSDefineMetaClassAndStructors(AppleARMSoftIICController, IOService) 12 13bool AppleARMSoftIICController::start(IOService * provider) 14{ 15 IOLog("AppleARMSoftIICController::start: Starting software I2C controller\n"); 16 17 if (!super::start(provider)) { 18 panic("Failed to start super IOService provider"); 19 } 20 21 registerService(); 22 23 return true; 24} 25 26IOService *AppleARMSoftIICController::probe(IOService * provider, SInt32 * score) 27{ 28 return this; 29} 30