#include "dc21x4.h"
#include <debug.h>
Go to the source code of this file.
◆ MediaGprCheckLink()
Definition at line 18 of file media140.c.
20{
23
24 Media = &Adapter->Media[Adapter->MediaNumber];
25
26
28 {
29 TRACE(
"No activity indicator\n");
30
31
34
36 }
37
39
40 TRACE(
"CSR12 %08lx\n", GpioData);
41
42
44}
FORCEINLINE ULONG DC_READ(_In_ PDC21X4_ADAPTER Adapter, _In_ DC_CSR Register)
Referenced by MediaMonitor21140Dpc().
◆ MediaGprNextMedia()
Definition at line 48 of file media140.c.
50{
52
53
55 {
56 return Adapter->MediaNumber;
57 }
58
59
60 i = Adapter->MediaNumber;
62 {
63
65 {
67 }
68 else
69 {
71 }
72
74 {
76 }
77 }
78}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
unsigned char _BitScanReverse(unsigned long *_Index, unsigned long _Mask)
Referenced by MediaMonitor21140Dpc().
◆ MediaMonitor21140Dpc()
Definition at line 82 of file media140.c.
87{
89 ULONG DelayMs, MediaNumber;
91
95
97 return;
98
100
102 {
104
105 DelayMs = 5000;
106 }
107 else
108 {
110
111
113 {
115
117 {
120 }
121
122 DelayMs = 3000;
123 }
124 else
125 {
126
127 DelayMs = 5000;
128 }
129 }
130
132
134
136}
VOID MediaGprSelect(_In_ PDC21X4_ADAPTER Adapter)
VOID MediaIndicateConnect(_In_ PDC21X4_ADAPTER Adapter, _In_ BOOLEAN LinkUp)
BOOLEAN MediaMiiCheckLink(_In_ PDC21X4_ADAPTER Adapter)
VOID EXPORT NdisMSetTimer(IN PNDIS_MINIPORT_TIMER Timer, IN UINT MillisecondsToDelay)
_In_ PVOID _In_ PVOID SystemSpecific2
#define NdisDprReleaseSpinLock(_SpinLock)
_In_ PVOID FunctionContext
#define NdisDprAcquireSpinLock(_SpinLock)
_In_ PVOID _In_ PVOID _In_ PVOID SystemSpecific3
#define UNREFERENCED_PARAMETER(P)
DECLSPEC_CACHEALIGN NDIS_SPIN_LOCK ModeLock
NDIS_MINIPORT_TIMER MediaMonitorTimer