or there are macros in pci.h for decoding the phys_hi member of the reg tuple.

Edward Shu wrote:
>  One possible way is to get the "reg" property by DDI interfaces.
> Then you will have the function number by some magic from the property. And
> you will find the magic by the open prom standard(aka IEEE 1275).
> 
> Xiu-Yan Wang:
>> Hi all,
>>
>> I wonder how to get the corresponding PCI function number of a PCI
>> driver instance from its dev_info_t structure. Does there a ddi
>> interface exist for this?
>>
>> Thanks,
>> Lucy
>> _______________________________________________
>> driver-discuss mailing list
>> [email protected]
>> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>>   
> 
> _______________________________________________
> driver-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss

_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to