Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find a pci device ?



Vivian,
Driver matching in IOKit is accomplished by comparing a drivers property table with the list of available devices (nubs) in the service plane. A PCI driver would claim to have an IOProviderClass of IOPCIDevice. This reduces the list to only PCI devices. Next it would use name based or more commonly vendor/device id or class code matching. Once the driver has been installed, the kext manager will keep it property table around. When an appropriate nub is found to match the property table, the driver will be loaded, its execution will begin. It has two more opportunities to do more active matching, before it must either commit to taking over the device or getting out of the way.
Josh

At 7:26 PM +0800 2/13/03, =?Big5?B?pP2yUadE?= wrote:
Hi:
I want to write a pci adapter driver , and I have one question about
how MAC OS X find the pci device. The step is the fireware found all pci
devices , and i must export my device's DriverDescription to the Driver
Loader Library to make it match the OS pci device data to mine. Is it
right? And where is the DriverDescription that i can modify? I have no
idea about where it is.

Thanks for your help


from vivian
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.

References: 
 >How to find a pci device ? (From: 王淑伶 <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.