Hi!
Isn't it possible to call NdisIStartAdaper (in ndis/miniport.c) when the miniport driver recieves an IRP_MJ_PNP/IRP_MN_START_DEVICE request? Right now it is called from NdisIAddDevice.
This means the miniport device is started before resource lists are assigned to the NICs device node. NdisMQueryAdaperResources and NdisMPciAssignResources cannot be implemented oe won't work because of this.
Regards, Eric
Eric Kohl wrote:
Hi!
Isn't it possible to call NdisIStartAdaper (in ndis/miniport.c) when the miniport driver recieves an IRP_MJ_PNP/IRP_MN_START_DEVICE request? Right now it is called from NdisIAddDevice.
See my ndis_wip_22102004 branch. It's already done there...
This means the miniport device is started before resource lists are assigned to the NICs device node. NdisMQueryAdaperResources and NdisMPciAssignResources cannot be implemented oe won't work because of this.
I've already implemented NdisMQueryAdaperResources.
Regards, Filip
"Filip Navara" xnavara@volny.cz wrote:
See my ndis_wip_22102004 branch. It's already done there...
Thanks a lot! I already applied the changes to support multiple PCI buses so Gerard can test it.
Regards, Eric