Updating the MiniportInitialize Function for NDIS 6.0
In NDIS 6.0, the MiniportInitializeEx function replaces the MiniportInitialize function. MiniportInitializeEx initializes an adapter for network I/O operations. NDIS passes MiniportInitializeEx an NDIS_MINIPORT_INIT_PARAMETERS structure. For more information about MiniportInitializeEx and this structure, see Initializing an Adapter.
The following standard INF keywords are mandatory for connectionless NDIS 6.0 and later miniport drivers:
*IfType
*MediaType
*PhysicalMediaType
If the mandatory keywords are missing from the driver's INF file, NDIS does not call the miniport driver's MiniportInitializeEx function.
The MiniportInitializeEx function must:
Set the miniport attributes. For more information, see Setting the NDIS 6.0 Miniport Adapter Attributes.
Read configuration parameters from the registry. For more information, see Reading the Registry in NDIS 6.0.
Allocate memory. For more information, see Allocating Memory in NDIS 6.0.
Allocate the NET_BUFFER_LIST and the NET_BUFFER pools. For more information, see Allocating Network Data Pools in NDIS 6.0.
Register the interrupt services. For more information, see Porting Interrupt Registration to NDIS 6.0.
Allocate scatter gather DMA resources. For more information, see Porting Miniport Driver DMA Operations to NDIS 6.0.
Read and write to the bus-specific configuration space. For more information, see Updating Bus-Specific Configuration Space Access for NDIS 6.0.