This paper provides guidelines for the NDIS driver developer to identify commonly-encountered issues in network drivers and specifies best practices that will help the driver developer avoid network driver issues. It also provides information on how to use Ndiskd.dll, the NDIS kernel debugger extension, to gather information about the state of NDIS and the NDIS drivers.
Included in this white paper:
NDIS Overview
Using Ndiskd.dll to Debug NDIS Drivers Debugger Extensions
NDIS Tracing
NDIS Bug Checks
PnP Overview
Debugging a Miniport Initialization Problem
Debugging the Failure of a Miniport to Halt
Debugging Power Management Issues
Debugging Interrupt Storms
MiniportReset Overview
Best Practices for Developing Miniport Drivers
Tools – Using NDISTest and Driver Verifier Using Debug Messages Tracking Spin Locks
Best Practices for Developing Intermediate Drivers