11#define NDIS_MINIPORT_DRIVER 1
12#define NDIS_LEGACY_MINIPORT 1
13#define NDIS51_MINIPORT 1
29#define DRIVER_NDIS_MAJOR_VERSION 3
30#define DRIVER_NDIS_MINOR_VERSION 0
32#define DRIVER_DEFAULT_IO_BASE_ADDRESS 0x280
33#define DRIVER_DEFAULT_INTERRUPT_NUMBER 9
34#define DRIVER_DEFAULT_INTERRUPT_SHARED FALSE
35#define DRIVER_DEFAULT_INTERRUPT_MODE NdisInterruptLatched
37#define DRIVER_MAX_MULTICAST_LIST_SIZE 8
39#define DRIVER_VENDOR_DESCRIPTION "Novell Eagle 2000 Adapter."
40#define DRIVER_VENDOR_DRIVER_VERSION 0x0100
42#define DRIVER_FRAME_SIZE 1514
43#define DRIVER_HEADER_SIZE 14
44#define DRIVER_LENGTH_OF_ADDRESS 6
47#define DRIVER_MAXIMUM_LOOKAHEAD (252 - DRIVER_HEADER_SIZE)
50#define DRIVER_BLOCK_SIZE 256
54#define DRIVER_DEFAULT_TX_BUFFER_COUNT 12
55#define BUFFERS_PER_TX_BUF 1
58#define DRIVER_INTERRUPT_MASK IMR_ALLE - IMR_RDCE
61#define INTERRUPT_LIMIT 10
70#define RESERVED(Packet) ((PMINIPORT_RESERVED)((Packet)->MiniportReserved))
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
struct _DRIVER_INFORMATION DRIVER_INFORMATION
struct _MINIPORT_RESERVED MINIPORT_RESERVED
UCHAR DRIVER_HARDWARE_ADDRESS[DRIVER_LENGTH_OF_ADDRESS]
VOID NICReadDataAlign(PNIC_ADAPTER Adapter, PUSHORT Target, ULONG_PTR Source, USHORT Length)
#define DRIVER_HEADER_SIZE
struct _NIC_ADAPTER * PNIC_ADAPTER
#define DRIVER_MAXIMUM_LOOKAHEAD
struct _NIC_ADAPTER NIC_ADAPTER
#define DRIVER_MAX_MULTICAST_LIST_SIZE
BOOLEAN NICCheck(PNIC_ADAPTER Adapter)
VOID NICTransmit(PNIC_ADAPTER Adapter)
struct _MINIPORT_RESERVED * PMINIPORT_RESERVED
#define DRIVER_DEFAULT_TX_BUFFER_COUNT
NDIS_STATUS NICStop(PNIC_ADAPTER Adapter)
struct _DRIVER_INFORMATION * PDRIVER_INFORMATION
VOID NICReadData(PNIC_ADAPTER Adapter, PUCHAR Target, ULONG_PTR Source, USHORT Length)
#define DRIVER_LENGTH_OF_ADDRESS
NDIS_STATUS NICSetup(PNIC_ADAPTER Adapter)
NDIS_STATUS NICReset(PNIC_ADAPTER Adapter)
VOID NICUpdateCounters(PNIC_ADAPTER Adapter)
VOID NICWriteDataAlign(PNIC_ADAPTER Adapter, ULONG_PTR Target, PUSHORT Source, USHORT Length)
DRIVER_INFORMATION DriverInfo
NDIS_PHYSICAL_ADDRESS HighestAcceptableMax
NDIS_STATUS NICStart(PNIC_ADAPTER Adapter)
NDIS_STATUS NICInitialize(PNIC_ADAPTER Adapter)
VOID NICWriteData(PNIC_ADAPTER Adapter, ULONG_PTR Target, PUCHAR Source, USHORT Length)
_In_ ULONG _In_ ULONG _In_ ULONG Length
enum _KINTERRUPT_MODE KINTERRUPT_MODE
PACKET_HEADER PacketHeader
BOOLEAN InterruptRegistered
UCHAR MulticastAddressMask[8]
BOOLEAN IOPortRangeRegistered
DRIVER_HARDWARE_ADDRESS Addresses[DRIVER_MAX_MULTICAST_LIST_SIZE]
NDIS_MINIPORT_INTERRUPT Interrupt
UCHAR Lookahead[DRIVER_MAXIMUM_LOOKAHEAD+DRIVER_HEADER_SIZE]
UINT TXSize[DRIVER_DEFAULT_TX_BUFFER_COUNT]
ULONG FrameAlignmentErrors
DRIVER_HARDWARE_ADDRESS PermanentAddress
KINTERRUPT_MODE InterruptMode
NDIS_HANDLE MiniportAdapterHandle
ULONG MaxMulticastListSize
BOOLEAN ShutdownHandlerRegistered
DRIVER_HARDWARE_ADDRESS StationAddress