site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com <http://developer.apple.com/documentation/DeviceDrivers/Conceptual/WritingDeviceDriver/IOService/chapter_4_section_2.html> <http://developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptIOKit/hello_iokit.html> You can see an example of this in the IOKitWithLibrary sample. <http://developer.apple.com/samplecode/IOKitWithLibrary/index.html> IMPORTANT If you use this technique, make sure that you set the "IOMatchCategory" property to something unique (like the bundle identifier of your driver). If two KEXTs use the same non-unique identifier, the second one won't load. S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... At 3:31 -0700 19/6/06, Pavan Chebbi wrote: Is there a class that I can use as provider when I am writing a virtual driver ? A virtual driver should match using IOResources. Check out the documentation for this on the developer web site. The "IOProviderClass" property of the KEXT is set to "IOResources" and the "IOResourceMatch" property to "IOKit". This email sent to site_archiver@lists.apple.com