#include "dc21x4.h"
#include <debug.h>
Go to the source code of this file.
◆ MediaLinkStateChange21040()
Definition at line 17 of file media040.c.
20{
22
24
26
27
29 {
31
33 }
34
36}
FORCEINLINE ULONG DC_READ(_In_ PDC21X4_ADAPTER Adapter, _In_ DC_CSR Register)
VOID MediaIndicateConnect(_In_ PDC21X4_ADAPTER Adapter, _In_ BOOLEAN LinkUp)
VOID EXPORT NdisMSetTimer(IN PNDIS_MINIPORT_TIMER Timer, IN UINT MillisecondsToDelay)
#define NdisDprReleaseSpinLock(_SpinLock)
#define NdisDprAcquireSpinLock(_SpinLock)
#define UNREFERENCED_PARAMETER(P)
◆ MediaMonitor21040Dpc()
Definition at line 40 of file media040.c.
45{
48
52
54 return;
55
59
61
63 {
65
69
71 {
72
74 {
76
81
83 }
84 }
85 else
86 {
87
89 }
90 }
91 else
92 {
94
96 {
97
99 {
102 }
103 else
104 {
105
109 }
110 }
111 else
112 {
113 Adapter->
ModeFlags &= ~DC_MODE_TEST_PACKET;
114
117
118
120 {
122
127 }
128 }
130 }
131
132 if (Report)
133 {
135 }
136
138
139 if (RunAgain)
140 {
142 }
143}
VOID DcWriteSia(_In_ PDC21X4_ADAPTER Adapter, _In_ ULONG Csr13, _In_ ULONG Csr14, _In_ ULONG Csr15)
#define DC_MODE_TEST_PACKET
VOID DcTestPacket(_In_ PDC21X4_ADAPTER Adapter)
#define DC_SIA_STATUS_10T_LINK_FAIL
#define DC_SIA_STATUS_NETWORK_CONNECTION_ERROR
_In_ PVOID _In_ PVOID SystemSpecific2
_In_ PVOID FunctionContext
_In_ PVOID _In_ PVOID _In_ PVOID SystemSpecific3
static NTSTATUS ReceiveActivity(PAFD_FCB FCB, PIRP Irp)
volatile LONG MediaTestStatus
DECLSPEC_CACHEALIGN NDIS_SPIN_LOCK ModeLock
ULONG LastReceiveActivity
NDIS_MINIPORT_TIMER MediaMonitorTimer
DC_MEDIA Media[MEDIA_LIST_MAX]
DECLSPEC_CACHEALIGN NDIS_SPIN_LOCK SendLock