What about using WdfPdoMarkMissing? For all the bus driver children.
Thx Firas.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Mark Roddy
Sent: Sunday, December 19, 2010 7:07 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How can bus driver issue rebuild his drivers stack?
The other alternative is to, from user mode, disable/re-enable the device.
Mark Roddy
On Sun, Dec 19, 2010 at 3:42 AM, Firas Mahameed wrote:
> This approach demands support dynamic enumeration, in our code we use static enumeration.
> Do we have any other alternatives? Or we must support the dynamic enumeration ?method?
>
> Thx Firas.
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Martin O’Brien
> Sent: Saturday, December 18, 2010 11:09 AM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] How can bus driver issue rebuild his drivers stack?
>
> /src/general/toaster/kmdf/bus/dynamic/busenum.c
>
>
> Good luck,
>
> mm
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Firas Mahameed
> Sent: Saturday, December 18, 2010 4:04 AM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] How can bus driver issue rebuild his drivers stack?
>
> Thanks, but where can I found this sample? I didn’t find it in the WDK
> samples
>
> Thx Firas.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Mark Roddy
> Sent: Thursday, December 16, 2010 5:06 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] How can bus driver issue rebuild his drivers stack?
>
> See Bus_UnPlugDevice in the toaster bus dynamic sample. You unplug the
> device, then plug it back in after it has finished being removed.
>
> Mark Roddy
>
>
>
> On Thu, Dec 16, 2010 at 7:27 AM, Firas Mahameed
> wrote:
>> Hi,
>>
>>
>>
>> I work in developing network drivers, our architecture is build a way that
>> we have KMDF bus driver that create PDOs for Ethernet drivers and others.
>>
>>
>>
>> We are looking for a way to allow the bus driver to issue rebuild his
> stack.
>>
>> So the OS will destroy his stack from UP bottom (for example halt the NDIS
>> miniport drivers etc,…)
>>
>>
>>
>> We tried to use WdfDeviceSetFailed.
>>
>> But the result is the OS has destroyed only the bus driver without
> notifying
>> his above stack, and we have crashed.
>>
>>
>>
>> Can you help us find another way to do this?
>>
>>
>>
>> Appreciate any kind of help,
>>
>> Firas Mahameed
>>
>> Windows SW Engineer
>>
>> Mellanox Technologies
>>
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer