I made a diff to add more debug print outs. I hope this group finds it
usefull.
Index: ntoskrnl/ldr/loader.c
===================================================================
--- ntoskrnl/ldr/loader.c (revision 20851)
+++ ntoskrnl/ldr/loader.c (working copy)
@@ -331,6 +331,7 @@
/* Hook for KDB on loading a driver. */
KDB_LOADDRIVER_HOOK(Filename, Module);
+ CPRINT("Driver Load Success: %wZ\n", Filename);
return(STATUS_SUCCESS);
}
Index: drivers/net/ndis/ndis/miniport.c
===================================================================
--- drivers/net/ndis/ndis/miniport.c (revision 20851)
+++ drivers/net/ndis/ndis/miniport.c (working copy)
@@ -1414,7 +1414,8 @@
if (NdisStatus != NDIS_STATUS_SUCCESS ||
SelectedMediumIndex >= MEDIA_ARRAY_SIZE)
{
- NDIS_DbgPrint(MIN_TRACE, ("MiniportInitialize() failed for an
adapter.\n"
));
+ NDIS_DbgPrint(MIN_TRACE, ("MiniportInitialize() failed for an adapter.
NdisStatus = 0x%00000000x; %d >= %d \n",
+ NdisStatus, SelectedMediumIndex, MEDIA_ARRAY_SIZE));
return (NTSTATUS)NdisStatus;
}
Show replies by date