1024{
1026
1028
1030
1031 if (Adapter->Interrupt.InterruptObject)
1032 {
1034 }
1035
1036 if (Adapter->IoBase)
1037 {
1039 {
1041 Adapter->IoBase,
1043 }
1044 else
1045 {
1047 Adapter->IoBaseAddress.LowPart,
1049 Adapter->IoBase);
1050 }
1051 }
1052
1053 if (Adapter->HeadTcb)
1054 {
1056 }
1057 if (Adapter->RcbArray)
1058 {
1060 }
1061 if (Adapter->SetupFrameSaved)
1062 {
1064 }
1065
1066 while (Adapter->AllocRcbList.Next)
1067 {
1070
1072 }
1073
1074 if (Adapter->RbdOriginal)
1075 {
1079 Adapter->RbdOriginal,
1080 Adapter->RbdPhysOriginal);
1081 }
1082 if (Adapter->TbdOriginal)
1083 {
1087 Adapter->TbdOriginal,
1088 Adapter->TbdPhysOriginal);
1089 }
1090 if (Adapter->CoalesceBuffer)
1091 {
1093 {
1095
1097 continue;
1098
1104 }
1105 }
1106
1107 if (Adapter->PacketPool)
1109 if (Adapter->BufferPool)
1111
1112 if (Adapter->SendLock.SpinLock)
1114 if (Adapter->ReceiveLock.SpinLock)
1116 if (Adapter->ModeLock.SpinLock)
1118
1120}
VOID DcFreeEeprom(_In_ PDC21X4_ADAPTER Adapter)
VOID EXPORT NdisFreeBufferPool(IN NDIS_HANDLE PoolHandle)
VOID EXPORT NdisFreePacketPool(IN NDIS_HANDLE PoolHandle)
VOID EXPORT NdisMDeregisterInterrupt(IN PNDIS_MINIPORT_INTERRUPT Interrupt)
VOID EXPORT NdisMDeregisterIoPortRange(IN NDIS_HANDLE MiniportAdapterHandle, IN UINT InitialPort, IN UINT NumberOfPorts, IN PVOID PortOffset)
VOID EXPORT NdisMUnmapIoSpace(IN NDIS_HANDLE MiniportAdapterHandle, IN PVOID VirtualAddress, IN UINT Length)
VOID EXPORT NdisFreeMemory(IN PVOID VirtualAddress, IN UINT Length, IN UINT MemoryFlags)
VOID EXPORT NdisMFreeSharedMemory(IN NDIS_HANDLE MiniportAdapterHandle, IN ULONG Length, IN BOOLEAN Cached, IN PVOID VirtualAddress, IN NDIS_PHYSICAL_ADDRESS PhysicalAddress)
#define NdisFreeSpinLock(_SpinLock)
NDIS_PHYSICAL_ADDRESS PhysicalAddress
#define CONTAINING_RECORD(address, type, field)
FORCEINLINE PSINGLE_LIST_ENTRY PopEntryList(_Inout_ PSINGLE_LIST_ENTRY ListHead)