Im enumerating a virtual NIC (NDIS) driver and want to provide it some
resources like how a pnp bus would provide.
My bus driver enumerates a child and the NIC driver is loaded on top
of it. The bus driver reports the resources when
IRP_MN_QUERY_RESOURCE_REQUIREMENTS and IRP_MN_QUERY_RESOURCES is sent
by the PnP manager.
When the MiniportFilterResourceRequirements function is called in the
NIC driver, it has the got all the resources that i reported
earlier.
After exiting from the MiniportFilterResourceRequirements, the PnP
Manager sends few IRP_MN_QUERY_INTERFACE Irps to both the function and
the bus driver.
After that it sends the following to the function driver:
IRP_MN_QUERY_STOP_DEVICE
IRP_MN_CANCEL_STOP_DEVICE
IRP_MN_QUERY_STOP_DEVICE
IRP_MN_CANCEL_STOP_DEVICE
ive tried both completing from the function driver and passing it down
also, but after the last IRP_MN_CANCEL_STOP_DEVICE the PnP manager
stops sending any other Irps and the NIC driver also does not load.
Neither the StartDevice nor the RemoveDevice of the NIC driver is
called.
Any help on how to proceed on to get the StartDevice to be called will
be greatly appreciated.
Regards,
NHKR
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Naresh" <nar...@gmail.com> wrote in message
news:57394a0a-45cb-4f15...@t11g2000prh.googlegroups.com...
Are u telling that, providing resources to a driver on behalf of the
PCI will make the system unstable? But from what i see, the PnP
Manager is not validating the resources provided by the bus driver, it
just passes the resources blindly to the NIC driver. Im a bit confused
here, how it would make the system unstable.
NHKR
----
On Oct 8, 2:54 am, "Doron Holan [MSFT]"
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Naresh" <nar...@gmail.com> wrote in message
news:17ee2a74-8a1b-400e...@u36g2000prn.googlegroups.com...
Thanks a lot
--
NHKR
(Microsoft India Community Star)
On Oct 8, 11:43 pm, "Doron Holan [MSFT]"