Sorry for the confusion, super is actially a custom MatroxIOService that does housekeeping for all our driver. This class does it. MatroxIOService public IOService com_matrox_driver_Effects public MatroxIOService On 30/05/02 15:33, "Godfrey van der Linden" <gvdl@apple.com> wrote:
Is IOService the parent of 'com_matrox_driver_Effects'? If so then
registerService() is NOT done by IOService.
Godfrey
At 14:38 -0400 02-5-30, Francis bouchard wrote:
On 30/05/02 14:33, "Godfrey van der Linden" <gvdl@apple.com> wrote:
Then call
at starttime have com_matrox_driver_Effects::start(provider) call
registerService() just before returning.
Does the fact that calling this function not at the end of the start could
change things ? It is actually done in a base class (derived from IOService)
for our dirvers. So:
com_matrox_driver_Effects::start(provider)
{
super::start(); // registerService() is done here
// more stuff
}
Francis
_______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.