Device Tree traversing in Kernel

Hi,
Given a PDO, can it be possible to get parent PDO in my driver?

Muralidhar Balcha.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

No.

-Eliyas

-----Original Message-----
From: xxxxx@emc.com [mailto:xxxxx@emc.com]
Sent: Thursday, June 21, 2001 6:01 PM
To: NT Developers Interest List
Subject: [ntdev] Device Tree traversing in Kernel

Hi,
Given a PDO, can it be possible to get parent PDO in my driver?

Muralidhar Balcha.


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanks for your response.

My requirement is to get PCI location information of an HBA, given a disk
PDO.
Can I do this either?

I thought if I could get HBA PDO I can query location information device
property from registry.

Thank you,
Muralidhar Balcha.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

In kernel, you can’t do that unless you write a filter and put that in
the HBA stack. In usermode, you can use setupdi functions to enumerate
devices and get the LocationInformation by using
SetupDiGetDeviceRegistryProperty.

-Eliyas

-----Original Message-----
From: xxxxx@emc.com [mailto:xxxxx@emc.com]
Sent: Friday, June 22, 2001 6:58 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Device Tree traversing in Kernel

Thanks for your response.

My requirement is to get PCI location information of an HBA, given a
disk
PDO.
Can I do this either?

I thought if I could get HBA PDO I can query location information device

property from registry.

Thank you,
Muralidhar Balcha.


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com