19 struct _DC_MEDIA_SIA_DATA
26 struct _DC_MEDIA_GPR_DATA
49#define MEDIA_100TX_HD 3
50#define MEDIA_10T_HD MEDIA_100TX_HD
52#define MEDIA_100TX_FD 5
54#define MEDIA_100FX_HD 7
55#define MEDIA_100FX_FD 8
57#define MEDIA_LIST_MAX 10
62#define MEDIA_AUTO MEDIA_LIST_MAX
67#define MEDIA_MII MEDIA_LIST_MAX
68#define MEDIA_MAX (MEDIA_LIST_MAX + 1)
70#define MEDIA_MII_OVERRIDE_MASK \
73 (1 << MEDIA_100FX_HD) | \
74 (1 << MEDIA_100FX_FD) | \
77#define MEDIA_FD_MASK \
78 ((1 << MEDIA_10T_FD) | \
79 (1 << MEDIA_100TX_FD) | \
80 (1 << MEDIA_100FX_FD))
82#define MEDIA_AUI_BNC_MASK \
86#define MEDIA_10T_MASK \
90#define MEDIA_100_MASK \
91 ((1 << MEDIA_100TX_HD) | \
92 (1 << MEDIA_100TX_FD) | \
93 (1 << MEDIA_100T4) | \
94 (1 << MEDIA_100FX_HD) | \
95 (1 << MEDIA_100FX_FD))
97#define MEDIA_FX_MASK \
98 ((1 << MEDIA_100FX_HD) | \
99 (1 << MEDIA_100FX_FD))
102#define MEDIA_MII_OVERRIDE(MediaNumber) \
103 (((1 << (MediaNumber)) & MEDIA_MII_OVERRIDE_MASK) != 0)
106#define MEDIA_IS_FD(MediaNumber) \
107 (((1 << (MediaNumber)) & MEDIA_FD_MASK) != 0)
110#define MEDIA_IS_AUI_BNC(MediaNumber) \
111 (((1 << (MediaNumber)) & MEDIA_AUI_BNC_MASK) != 0)
114#define MEDIA_IS_10T(MediaNumber) \
115 (((1 << (MediaNumber)) & MEDIA_10T_MASK) != 0)
118#define MEDIA_IS_100(MediaNumber) \
119 (((1 << (MediaNumber)) & MEDIA_100_MASK) != 0)
122#define MEDIA_IS_FX(MediaNumber) \
123 (((1 << (MediaNumber)) & MEDIA_FX_MASK) != 0)
126#define MEDIA_IS_FIXED(Adapter) \
127 (((Adapter)->Flags & DC_AUTOSENSE) == 0)
#define SROM_MAX_STREAM_REGS