2.3.2 NDIS Functions Called by Miniports

Windows NT furnishes NDIS library functions as an export library (ndis.sys). Both protocol and NIC drivers link to this export library.

The NDIS library provides the following kinds of functions for the miniport NIC driver:

·Initialization and Registration in Section 2.3.2.1

·Hardware Configuration (for ISA, EISA, MCA, and PCI buses and PCMCIA cards) in Section 2.3.2.2

·I/O Port in Section 2.3.2.3

·DMA-related in Section 2.3.2.4

·Interrupt Handling in Section 2.3.2.5

·Synchronization Functions in Section 2.3.2.6

·Status in Section 2.3.2.7

·Send and Receive in Section 2.3.2.8

·Packet and Buffer Handling in Section 2.3.2.9

The following sections summarize these NDIS library functions commonly used by a miniport driver.