Go to the documentation of this file.
32 #ifndef _CXGB_SUNI1x10GEXP_REGS_H_
33 #define _CXGB_SUNI1x10GEXP_REGS_H_
39 #define SUNI1x10GEXP_REG_SIZEOF_MAC_FILTER 0x0003
41 #define mSUNI1x10GEXP_MAC_FILTER_OFFSET(filterId) ( (filterId) * SUNI1x10GEXP_REG_SIZEOF_MAC_FILTER )
47 #define SUNI1x10GEXP_REG_SIZEOF_MAC_VID_FILTER 0x0001
49 #define mSUNI1x10GEXP_MAC_VID_FILTER_OFFSET(filterId) ( (filterId) * SUNI1x10GEXP_REG_SIZEOF_MAC_VID_FILTER )
54 #define SUNI1x10GEXP_REG_SIZEOF_MSTAT_COUNT 0x0004
56 #define mSUNI1x10GEXP_MSTAT_COUNT_OFFSET(countId) ( (countId) * SUNI1x10GEXP_REG_SIZEOF_MSTAT_COUNT )
67 #define SUNI1x10GEXP_REG_IDENTIFICATION 0x0000
68 #define SUNI1x10GEXP_REG_PRODUCT_REVISION 0x0001
69 #define SUNI1x10GEXP_REG_CONFIG_AND_RESET_CONTROL 0x0002
70 #define SUNI1x10GEXP_REG_LOOPBACK_MISC_CTRL 0x0003
71 #define SUNI1x10GEXP_REG_DEVICE_STATUS 0x0004
72 #define SUNI1x10GEXP_REG_GLOBAL_PERFORMANCE_MONITOR_UPDATE 0x0005
74 #define SUNI1x10GEXP_REG_MDIO_COMMAND 0x0006
75 #define SUNI1x10GEXP_REG_MDIO_INTERRUPT_ENABLE 0x0007
76 #define SUNI1x10GEXP_REG_MDIO_INTERRUPT_STATUS 0x0008
77 #define SUNI1x10GEXP_REG_MMD_PHY_ADDRESS 0x0009
78 #define SUNI1x10GEXP_REG_MMD_CONTROL_ADDRESS_DATA 0x000A
79 #define SUNI1x10GEXP_REG_MDIO_READ_STATUS_DATA 0x000B
81 #define SUNI1x10GEXP_REG_OAM_INTF_CTRL 0x000C
82 #define SUNI1x10GEXP_REG_MASTER_INTERRUPT_STATUS 0x000D
83 #define SUNI1x10GEXP_REG_GLOBAL_INTERRUPT_ENABLE 0x000E
84 #define SUNI1x10GEXP_REG_FREE 0x000F
86 #define SUNI1x10GEXP_REG_XTEF_MISC_CTRL 0x0010
87 #define SUNI1x10GEXP_REG_XRF_MISC_CTRL 0x0011
89 #define SUNI1x10GEXP_REG_SERDES_3125_CONFIG_1 0x0100
90 #define SUNI1x10GEXP_REG_SERDES_3125_CONFIG_2 0x0101
91 #define SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE 0x0102
92 #define SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_VISIBLE 0x0103
93 #define SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_STATUS 0x0104
94 #define SUNI1x10GEXP_REG_SERDES_3125_TEST_CONFIG 0x0107
96 #define SUNI1x10GEXP_REG_RXXG_CONFIG_1 0x2040
97 #define SUNI1x10GEXP_REG_RXXG_CONFIG_2 0x2041
98 #define SUNI1x10GEXP_REG_RXXG_CONFIG_3 0x2042
99 #define SUNI1x10GEXP_REG_RXXG_INTERRUPT 0x2043
100 #define SUNI1x10GEXP_REG_RXXG_MAX_FRAME_LENGTH 0x2045
101 #define SUNI1x10GEXP_REG_RXXG_SA_15_0 0x2046
102 #define SUNI1x10GEXP_REG_RXXG_SA_31_16 0x2047
103 #define SUNI1x10GEXP_REG_RXXG_SA_47_32 0x2048
104 #define SUNI1x10GEXP_REG_RXXG_RECEIVE_FIFO_THRESHOLD 0x2049
105 #define mSUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_LOW(filterId) (0x204A + mSUNI1x10GEXP_MAC_FILTER_OFFSET(filterId))
106 #define mSUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_MID(filterId) (0x204B + mSUNI1x10GEXP_MAC_FILTER_OFFSET(filterId))
107 #define mSUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_HIGH(filterId)(0x204C + mSUNI1x10GEXP_MAC_FILTER_OFFSET(filterId))
108 #define mSUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID(filterId) (0x2062 + mSUNI1x10GEXP_MAC_VID_FILTER_OFFSET(filterId))
109 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_0_LOW 0x204A
110 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_0_MID 0x204B
111 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_0_HIGH 0x204C
112 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_LOW 0x204D
113 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_MID 0x204E
114 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_1_HIGH 0x204F
115 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_2_LOW 0x2050
116 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_2_MID 0x2051
117 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_2_HIGH 0x2052
118 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_3_LOW 0x2053
119 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_3_MID 0x2054
120 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_3_HIGH 0x2055
121 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_4_LOW 0x2056
122 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_4_MID 0x2057
123 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_4_HIGH 0x2058
124 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_5_LOW 0x2059
125 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_5_MID 0x205A
126 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_5_HIGH 0x205B
127 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_6_LOW 0x205C
128 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_6_MID 0x205D
129 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_6_HIGH 0x205E
130 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_7_LOW 0x205F
131 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_7_MID 0x2060
132 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_ADDR_7_HIGH 0x2061
133 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_0 0x2062
134 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_1 0x2063
135 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_2 0x2064
136 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_3 0x2065
137 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_4 0x2066
138 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_5 0x2067
139 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_6 0x2068
140 #define SUNI1x10GEXP_REG_RXXG_EXACT_MATCH_VID_7 0x2069
141 #define SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_LOW 0x206A
142 #define SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_MIDLOW 0x206B
143 #define SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_MIDHIGH 0x206C
144 #define SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_HIGH 0x206D
145 #define SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_0 0x206E
146 #define SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_1 0x206F
147 #define SUNI1x10GEXP_REG_RXXG_ADDRESS_FILTER_CONTROL_2 0x2070
149 #define SUNI1x10GEXP_REG_XRF_PATTERN_GEN_CTRL 0x2081
150 #define SUNI1x10GEXP_REG_XRF_8BTB_ERR_COUNT_LANE_0 0x2084
151 #define SUNI1x10GEXP_REG_XRF_8BTB_ERR_COUNT_LANE_1 0x2085
152 #define SUNI1x10GEXP_REG_XRF_8BTB_ERR_COUNT_LANE_2 0x2086
153 #define SUNI1x10GEXP_REG_XRF_8BTB_ERR_COUNT_LANE_3 0x2087
154 #define SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE 0x2088
155 #define SUNI1x10GEXP_REG_XRF_INTERRUPT_STATUS 0x2089
156 #define SUNI1x10GEXP_REG_XRF_ERR_STATUS 0x208A
157 #define SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE 0x208B
158 #define SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_STATUS 0x208C
159 #define SUNI1x10GEXP_REG_XRF_CODE_ERR_THRES 0x2092
161 #define SUNI1x10GEXP_REG_RXOAM_CONFIG 0x20C0
162 #define SUNI1x10GEXP_REG_RXOAM_FILTER_1_CONFIG 0x20C1
163 #define SUNI1x10GEXP_REG_RXOAM_FILTER_2_CONFIG 0x20C2
164 #define SUNI1x10GEXP_REG_RXOAM_CONFIG_2 0x20C3
165 #define SUNI1x10GEXP_REG_RXOAM_HEC_CONFIG 0x20C4
166 #define SUNI1x10GEXP_REG_RXOAM_HEC_ERR_THRES 0x20C5
167 #define SUNI1x10GEXP_REG_RXOAM_INTERRUPT_ENABLE 0x20C7
168 #define SUNI1x10GEXP_REG_RXOAM_INTERRUPT_STATUS 0x20C8
169 #define SUNI1x10GEXP_REG_RXOAM_STATUS 0x20C9
170 #define SUNI1x10GEXP_REG_RXOAM_HEC_ERR_COUNT 0x20CA
171 #define SUNI1x10GEXP_REG_RXOAM_FIFO_OVERFLOW_COUNT 0x20CB
172 #define SUNI1x10GEXP_REG_RXOAM_FILTER_MISMATCH_COUNT_LSB 0x20CC
173 #define SUNI1x10GEXP_REG_RXOAM_FILTER_MISMATCH_COUNT_MSB 0x20CD
174 #define SUNI1x10GEXP_REG_RXOAM_FILTER_1_MISMATCH_COUNT_LSB 0x20CE
175 #define SUNI1x10GEXP_REG_RXOAM_FILTER_1_MISMATCH_COUNT_MSB 0x20CF
176 #define SUNI1x10GEXP_REG_RXOAM_FILTER_2_MISMATCH_COUNT_LSB 0x20D0
177 #define SUNI1x10GEXP_REG_RXOAM_FILTER_2_MISMATCH_COUNT_MSB 0x20D1
178 #define SUNI1x10GEXP_REG_RXOAM_OAM_EXTRACT_COUNT_LSB 0x20D2
179 #define SUNI1x10GEXP_REG_RXOAM_OAM_EXTRACT_COUNT_MSB 0x20D3
180 #define SUNI1x10GEXP_REG_RXOAM_MINI_PACKET_COUNT_LSB 0x20D4
181 #define SUNI1x10GEXP_REG_RXOAM_MINI_PACKET_COUNT_MSB 0x20D5
182 #define SUNI1x10GEXP_REG_RXOAM_FILTER_MISMATCH_THRES_LSB 0x20D6
183 #define SUNI1x10GEXP_REG_RXOAM_FILTER_MISMATCH_THRES_MSB 0x20D7
185 #define SUNI1x10GEXP_REG_MSTAT_CONTROL 0x2100
186 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_0 0x2101
187 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_1 0x2102
188 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_2 0x2103
189 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_3 0x2104
190 #define SUNI1x10GEXP_REG_MSTAT_INTERRUPT_MASK_0 0x2105
191 #define SUNI1x10GEXP_REG_MSTAT_INTERRUPT_MASK_1 0x2106
192 #define SUNI1x10GEXP_REG_MSTAT_INTERRUPT_MASK_2 0x2107
193 #define SUNI1x10GEXP_REG_MSTAT_INTERRUPT_MASK_3 0x2108
194 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_WRITE_ADDRESS 0x2109
195 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_WRITE_DATA_LOW 0x210A
196 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_WRITE_DATA_MIDDLE 0x210B
197 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_WRITE_DATA_HIGH 0x210C
198 #define mSUNI1x10GEXP_REG_MSTAT_COUNTER_LOW(countId) (0x2110 + mSUNI1x10GEXP_MSTAT_COUNT_OFFSET(countId))
199 #define mSUNI1x10GEXP_REG_MSTAT_COUNTER_MID(countId) (0x2111 + mSUNI1x10GEXP_MSTAT_COUNT_OFFSET(countId))
200 #define mSUNI1x10GEXP_REG_MSTAT_COUNTER_HIGH(countId) (0x2112 + mSUNI1x10GEXP_MSTAT_COUNT_OFFSET(countId))
201 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_0_LOW 0x2110
202 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_0_MID 0x2111
203 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_0_HIGH 0x2112
204 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_0_RESVD 0x2113
205 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_1_LOW 0x2114
206 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_1_MID 0x2115
207 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_1_HIGH 0x2116
208 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_1_RESVD 0x2117
209 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_2_LOW 0x2118
210 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_2_MID 0x2119
211 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_2_HIGH 0x211A
212 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_2_RESVD 0x211B
213 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_3_LOW 0x211C
214 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_3_MID 0x211D
215 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_3_HIGH 0x211E
216 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_3_RESVD 0x211F
217 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_4_LOW 0x2120
218 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_4_MID 0x2121
219 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_4_HIGH 0x2122
220 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_4_RESVD 0x2123
221 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_5_LOW 0x2124
222 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_5_MID 0x2125
223 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_5_HIGH 0x2126
224 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_5_RESVD 0x2127
225 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_6_LOW 0x2128
226 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_6_MID 0x2129
227 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_6_HIGH 0x212A
228 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_6_RESVD 0x212B
229 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_7_LOW 0x212C
230 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_7_MID 0x212D
231 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_7_HIGH 0x212E
232 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_7_RESVD 0x212F
233 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_8_LOW 0x2130
234 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_8_MID 0x2131
235 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_8_HIGH 0x2132
236 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_8_RESVD 0x2133
237 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_9_LOW 0x2134
238 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_9_MID 0x2135
239 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_9_HIGH 0x2136
240 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_9_RESVD 0x2137
241 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_10_LOW 0x2138
242 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_10_MID 0x2139
243 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_10_HIGH 0x213A
244 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_10_RESVD 0x213B
245 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_11_LOW 0x213C
246 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_11_MID 0x213D
247 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_11_HIGH 0x213E
248 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_11_RESVD 0x213F
249 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_12_LOW 0x2140
250 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_12_MID 0x2141
251 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_12_HIGH 0x2142
252 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_12_RESVD 0x2143
253 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_13_LOW 0x2144
254 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_13_MID 0x2145
255 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_13_HIGH 0x2146
256 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_13_RESVD 0x2147
257 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_14_LOW 0x2148
258 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_14_MID 0x2149
259 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_14_HIGH 0x214A
260 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_14_RESVD 0x214B
261 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_15_LOW 0x214C
262 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_15_MID 0x214D
263 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_15_HIGH 0x214E
264 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_15_RESVD 0x214F
265 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_16_LOW 0x2150
266 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_16_MID 0x2151
267 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_16_HIGH 0x2152
268 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_16_RESVD 0x2153
269 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_17_LOW 0x2154
270 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_17_MID 0x2155
271 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_17_HIGH 0x2156
272 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_17_RESVD 0x2157
273 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_18_LOW 0x2158
274 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_18_MID 0x2159
275 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_18_HIGH 0x215A
276 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_18_RESVD 0x215B
277 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_19_LOW 0x215C
278 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_19_MID 0x215D
279 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_19_HIGH 0x215E
280 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_19_RESVD 0x215F
281 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_20_LOW 0x2160
282 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_20_MID 0x2161
283 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_20_HIGH 0x2162
284 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_20_RESVD 0x2163
285 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_21_LOW 0x2164
286 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_21_MID 0x2165
287 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_21_HIGH 0x2166
288 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_21_RESVD 0x2167
289 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_22_LOW 0x2168
290 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_22_MID 0x2169
291 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_22_HIGH 0x216A
292 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_22_RESVD 0x216B
293 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_23_LOW 0x216C
294 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_23_MID 0x216D
295 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_23_HIGH 0x216E
296 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_23_RESVD 0x216F
297 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_24_LOW 0x2170
298 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_24_MID 0x2171
299 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_24_HIGH 0x2172
300 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_24_RESVD 0x2173
301 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_25_LOW 0x2174
302 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_25_MID 0x2175
303 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_25_HIGH 0x2176
304 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_25_RESVD 0x2177
305 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_26_LOW 0x2178
306 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_26_MID 0x2179
307 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_26_HIGH 0x217a
308 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_26_RESVD 0x217b
309 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_27_LOW 0x217c
310 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_27_MID 0x217d
311 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_27_HIGH 0x217e
312 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_27_RESVD 0x217f
313 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_28_LOW 0x2180
314 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_28_MID 0x2181
315 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_28_HIGH 0x2182
316 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_28_RESVD 0x2183
317 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_29_LOW 0x2184
318 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_29_MID 0x2185
319 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_29_HIGH 0x2186
320 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_29_RESVD 0x2187
321 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_30_LOW 0x2188
322 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_30_MID 0x2189
323 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_30_HIGH 0x218A
324 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_30_RESVD 0x218B
325 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_31_LOW 0x218C
326 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_31_MID 0x218D
327 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_31_HIGH 0x218E
328 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_31_RESVD 0x218F
329 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_32_LOW 0x2190
330 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_32_MID 0x2191
331 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_32_HIGH 0x2192
332 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_32_RESVD 0x2193
333 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_33_LOW 0x2194
334 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_33_MID 0x2195
335 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_33_HIGH 0x2196
336 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_33_RESVD 0x2197
337 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_34_LOW 0x2198
338 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_34_MID 0x2199
339 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_34_HIGH 0x219A
340 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_34_RESVD 0x219B
341 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_35_LOW 0x219C
342 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_35_MID 0x219D
343 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_35_HIGH 0x219E
344 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_35_RESVD 0x219F
345 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_36_LOW 0x21A0
346 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_36_MID 0x21A1
347 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_36_HIGH 0x21A2
348 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_36_RESVD 0x21A3
349 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_37_LOW 0x21A4
350 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_37_MID 0x21A5
351 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_37_HIGH 0x21A6
352 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_37_RESVD 0x21A7
353 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_38_LOW 0x21A8
354 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_38_MID 0x21A9
355 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_38_HIGH 0x21AA
356 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_38_RESVD 0x21AB
357 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_39_LOW 0x21AC
358 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_39_MID 0x21AD
359 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_39_HIGH 0x21AE
360 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_39_RESVD 0x21AF
361 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_40_LOW 0x21B0
362 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_40_MID 0x21B1
363 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_40_HIGH 0x21B2
364 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_40_RESVD 0x21B3
365 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_41_LOW 0x21B4
366 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_41_MID 0x21B5
367 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_41_HIGH 0x21B6
368 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_41_RESVD 0x21B7
369 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_42_LOW 0x21B8
370 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_42_MID 0x21B9
371 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_42_HIGH 0x21BA
372 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_42_RESVD 0x21BB
373 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_43_LOW 0x21BC
374 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_43_MID 0x21BD
375 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_43_HIGH 0x21BE
376 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_43_RESVD 0x21BF
377 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_44_LOW 0x21C0
378 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_44_MID 0x21C1
379 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_44_HIGH 0x21C2
380 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_44_RESVD 0x21C3
381 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_45_LOW 0x21C4
382 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_45_MID 0x21C5
383 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_45_HIGH 0x21C6
384 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_45_RESVD 0x21C7
385 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_46_LOW 0x21C8
386 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_46_MID 0x21C9
387 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_46_HIGH 0x21CA
388 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_46_RESVD 0x21CB
389 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_47_LOW 0x21CC
390 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_47_MID 0x21CD
391 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_47_HIGH 0x21CE
392 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_47_RESVD 0x21CF
393 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_48_LOW 0x21D0
394 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_48_MID 0x21D1
395 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_48_HIGH 0x21D2
396 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_48_RESVD 0x21D3
397 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_49_LOW 0x21D4
398 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_49_MID 0x21D5
399 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_49_HIGH 0x21D6
400 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_49_RESVD 0x21D7
401 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_50_LOW 0x21D8
402 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_50_MID 0x21D9
403 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_50_HIGH 0x21DA
404 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_50_RESVD 0x21DB
405 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_51_LOW 0x21DC
406 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_51_MID 0x21DD
407 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_51_HIGH 0x21DE
408 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_51_RESVD 0x21DF
409 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_52_LOW 0x21E0
410 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_52_MID 0x21E1
411 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_52_HIGH 0x21E2
412 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_52_RESVD 0x21E3
413 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_53_LOW 0x21E4
414 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_53_MID 0x21E5
415 #define SUNI1x10GEXP_REG_MSTAT_COUNTER_53_HIGH 0x21E6
416 #define SUNI1x10GEXP_CNTR_MAC_ETHERNET_NUM 51
418 #define SUNI1x10GEXP_REG_IFLX_GLOBAL_CONFIG 0x2200
419 #define SUNI1x10GEXP_REG_IFLX_CHANNEL_PROVISION 0x2201
420 #define SUNI1x10GEXP_REG_IFLX_FIFO_OVERFLOW_ENABLE 0x2209
421 #define SUNI1x10GEXP_REG_IFLX_FIFO_OVERFLOW_INTERRUPT 0x220A
422 #define SUNI1x10GEXP_REG_IFLX_INDIR_CHANNEL_ADDRESS 0x220D
423 #define SUNI1x10GEXP_REG_IFLX_INDIR_LOGICAL_FIFO_LOW_LIMIT_PROVISION 0x220E
424 #define SUNI1x10GEXP_REG_IFLX_INDIR_LOGICAL_FIFO_HIGH_LIMIT 0x220F
425 #define SUNI1x10GEXP_REG_IFLX_INDIR_FULL_ALMOST_FULL_STATUS_LIMIT 0x2210
426 #define SUNI1x10GEXP_REG_IFLX_INDIR_EMPTY_ALMOST_EMPTY_STATUS_LIMIT 0x2211
428 #define SUNI1x10GEXP_REG_PL4MOS_CONFIG 0x2240
429 #define SUNI1x10GEXP_REG_PL4MOS_MASK 0x2241
430 #define SUNI1x10GEXP_REG_PL4MOS_FAIRNESS_MASKING 0x2242
431 #define SUNI1x10GEXP_REG_PL4MOS_MAXBURST1 0x2243
432 #define SUNI1x10GEXP_REG_PL4MOS_MAXBURST2 0x2244
433 #define SUNI1x10GEXP_REG_PL4MOS_TRANSFER_SIZE 0x2245
435 #define SUNI1x10GEXP_REG_PL4ODP_CONFIG 0x2280
436 #define SUNI1x10GEXP_REG_PL4ODP_INTERRUPT_MASK 0x2282
437 #define SUNI1x10GEXP_REG_PL4ODP_INTERRUPT 0x2283
438 #define SUNI1x10GEXP_REG_PL4ODP_CONFIG_MAX_T 0x2284
440 #define SUNI1x10GEXP_REG_PL4IO_LOCK_DETECT_STATUS 0x2300
441 #define SUNI1x10GEXP_REG_PL4IO_LOCK_DETECT_CHANGE 0x2301
442 #define SUNI1x10GEXP_REG_PL4IO_LOCK_DETECT_MASK 0x2302
443 #define SUNI1x10GEXP_REG_PL4IO_LOCK_DETECT_LIMITS 0x2303
444 #define SUNI1x10GEXP_REG_PL4IO_CALENDAR_REPETITIONS 0x2304
445 #define SUNI1x10GEXP_REG_PL4IO_CONFIG 0x2305
447 #define SUNI1x10GEXP_REG_TXXG_CONFIG_1 0x3040
448 #define SUNI1x10GEXP_REG_TXXG_CONFIG_2 0x3041
449 #define SUNI1x10GEXP_REG_TXXG_CONFIG_3 0x3042
450 #define SUNI1x10GEXP_REG_TXXG_INTERRUPT 0x3043
451 #define SUNI1x10GEXP_REG_TXXG_STATUS 0x3044
452 #define SUNI1x10GEXP_REG_TXXG_MAX_FRAME_SIZE 0x3045
453 #define SUNI1x10GEXP_REG_TXXG_MIN_FRAME_SIZE 0x3046
454 #define SUNI1x10GEXP_REG_TXXG_SA_15_0 0x3047
455 #define SUNI1x10GEXP_REG_TXXG_SA_31_16 0x3048
456 #define SUNI1x10GEXP_REG_TXXG_SA_47_32 0x3049
457 #define SUNI1x10GEXP_REG_TXXG_PAUSE_TIMER 0x304D
458 #define SUNI1x10GEXP_REG_TXXG_PAUSE_TIMER_INTERVAL 0x304E
459 #define SUNI1x10GEXP_REG_TXXG_FILTER_ERROR_COUNTER 0x3051
460 #define SUNI1x10GEXP_REG_TXXG_PAUSE_QUANTUM_CONFIG 0x3052
462 #define SUNI1x10GEXP_REG_XTEF_CTRL 0x3080
463 #define SUNI1x10GEXP_REG_XTEF_INTERRUPT_STATUS 0x3084
464 #define SUNI1x10GEXP_REG_XTEF_INTERRUPT_ENABLE 0x3085
465 #define SUNI1x10GEXP_REG_XTEF_VISIBILITY 0x3086
467 #define SUNI1x10GEXP_REG_TXOAM_OAM_CONFIG 0x30C0
468 #define SUNI1x10GEXP_REG_TXOAM_MINI_RATE_CONFIG 0x30C1
469 #define SUNI1x10GEXP_REG_TXOAM_MINI_GAP_FIFO_CONFIG 0x30C2
470 #define SUNI1x10GEXP_REG_TXOAM_P1P2_STATIC_VALUES 0x30C3
471 #define SUNI1x10GEXP_REG_TXOAM_P3P4_STATIC_VALUES 0x30C4
472 #define SUNI1x10GEXP_REG_TXOAM_P5P6_STATIC_VALUES 0x30C5
473 #define SUNI1x10GEXP_REG_TXOAM_INTERRUPT_ENABLE 0x30C6
474 #define SUNI1x10GEXP_REG_TXOAM_INTERRUPT_STATUS 0x30C7
475 #define SUNI1x10GEXP_REG_TXOAM_INSERT_COUNT_LSB 0x30C8
476 #define SUNI1x10GEXP_REG_TXOAM_INSERT_COUNT_MSB 0x30C9
477 #define SUNI1x10GEXP_REG_TXOAM_OAM_MINI_COUNT_LSB 0x30CA
478 #define SUNI1x10GEXP_REG_TXOAM_OAM_MINI_COUNT_MSB 0x30CB
479 #define SUNI1x10GEXP_REG_TXOAM_P1P2_MINI_MASK 0x30CC
480 #define SUNI1x10GEXP_REG_TXOAM_P3P4_MINI_MASK 0x30CD
481 #define SUNI1x10GEXP_REG_TXOAM_P5P6_MINI_MASK 0x30CE
482 #define SUNI1x10GEXP_REG_TXOAM_COSET 0x30CF
483 #define SUNI1x10GEXP_REG_TXOAM_EMPTY_FIFO_INS_OP_CNT_LSB 0x30D0
484 #define SUNI1x10GEXP_REG_TXOAM_EMPTY_FIFO_INS_OP_CNT_MSB 0x30D1
485 #define SUNI1x10GEXP_REG_TXOAM_STATIC_VALUE_MINI_COUNT_LSB 0x30D2
486 #define SUNI1x10GEXP_REG_TXOAM_STATIC_VALUE_MINI_COUNT_MSB 0x30D3
489 #define SUNI1x10GEXP_REG_EFLX_GLOBAL_CONFIG 0x3200
490 #define SUNI1x10GEXP_REG_EFLX_ERCU_GLOBAL_STATUS 0x3201
491 #define SUNI1x10GEXP_REG_EFLX_INDIR_CHANNEL_ADDRESS 0x3202
492 #define SUNI1x10GEXP_REG_EFLX_INDIR_FIFO_LOW_LIMIT 0x3203
493 #define SUNI1x10GEXP_REG_EFLX_INDIR_FIFO_HIGH_LIMIT 0x3204
494 #define SUNI1x10GEXP_REG_EFLX_INDIR_FULL_ALMOST_FULL_STATUS_AND_LIMIT 0x3205
495 #define SUNI1x10GEXP_REG_EFLX_INDIR_EMPTY_ALMOST_EMPTY_STATUS_AND_LIMIT 0x3206
496 #define SUNI1x10GEXP_REG_EFLX_INDIR_FIFO_CUT_THROUGH_THRESHOLD 0x3207
497 #define SUNI1x10GEXP_REG_EFLX_FIFO_OVERFLOW_ERROR_ENABLE 0x320C
498 #define SUNI1x10GEXP_REG_EFLX_FIFO_OVERFLOW_ERROR_INDICATION 0x320D
499 #define SUNI1x10GEXP_REG_EFLX_CHANNEL_PROVISION 0x3210
501 #define SUNI1x10GEXP_REG_PL4IDU_CONFIG 0x3280
502 #define SUNI1x10GEXP_REG_PL4IDU_INTERRUPT_MASK 0x3282
503 #define SUNI1x10GEXP_REG_PL4IDU_INTERRUPT 0x3283
507 #define SUNI1x10GEXP_REG_MAX_OFFSET 0x3480
517 #define SUNI1x10GEXP_BITMSK_BITS_1 0x00001
518 #define SUNI1x10GEXP_BITMSK_BITS_2 0x00003
519 #define SUNI1x10GEXP_BITMSK_BITS_3 0x00007
520 #define SUNI1x10GEXP_BITMSK_BITS_4 0x0000f
521 #define SUNI1x10GEXP_BITMSK_BITS_5 0x0001f
522 #define SUNI1x10GEXP_BITMSK_BITS_6 0x0003f
523 #define SUNI1x10GEXP_BITMSK_BITS_7 0x0007f
524 #define SUNI1x10GEXP_BITMSK_BITS_8 0x000ff
525 #define SUNI1x10GEXP_BITMSK_BITS_9 0x001ff
526 #define SUNI1x10GEXP_BITMSK_BITS_10 0x003ff
527 #define SUNI1x10GEXP_BITMSK_BITS_11 0x007ff
528 #define SUNI1x10GEXP_BITMSK_BITS_12 0x00fff
529 #define SUNI1x10GEXP_BITMSK_BITS_13 0x01fff
530 #define SUNI1x10GEXP_BITMSK_BITS_14 0x03fff
531 #define SUNI1x10GEXP_BITMSK_BITS_15 0x07fff
532 #define SUNI1x10GEXP_BITMSK_BITS_16 0x0ffff
534 #define mSUNI1x10GEXP_CLR_MSBITS_1(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_15)
535 #define mSUNI1x10GEXP_CLR_MSBITS_2(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_14)
536 #define mSUNI1x10GEXP_CLR_MSBITS_3(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_13)
537 #define mSUNI1x10GEXP_CLR_MSBITS_4(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_12)
538 #define mSUNI1x10GEXP_CLR_MSBITS_5(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_11)
539 #define mSUNI1x10GEXP_CLR_MSBITS_6(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_10)
540 #define mSUNI1x10GEXP_CLR_MSBITS_7(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_9)
541 #define mSUNI1x10GEXP_CLR_MSBITS_8(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_8)
542 #define mSUNI1x10GEXP_CLR_MSBITS_9(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_7)
543 #define mSUNI1x10GEXP_CLR_MSBITS_10(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_6)
544 #define mSUNI1x10GEXP_CLR_MSBITS_11(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_5)
545 #define mSUNI1x10GEXP_CLR_MSBITS_12(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_4)
546 #define mSUNI1x10GEXP_CLR_MSBITS_13(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_3)
547 #define mSUNI1x10GEXP_CLR_MSBITS_14(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_2)
548 #define mSUNI1x10GEXP_CLR_MSBITS_15(v) ((v) & SUNI1x10GEXP_BITMSK_BITS_1)
550 #define mSUNI1x10GEXP_GET_BIT(val, bitMsk) (((val)&(bitMsk)) ? 1:0)
558 #define SUNI1x10GEXP_BITMSK_REVISION 0x000F
566 #define SUNI1x10GEXP_BITMSK_XAUI_ARESET 0x0004
567 #define SUNI1x10GEXP_BITMSK_PL4_ARESET 0x0002
568 #define SUNI1x10GEXP_BITMSK_DRESETB 0x0001
582 #define SUNI1x10GEXP_BITMSK_PL4IO_OUTCLKSEL 0x0800
583 #define SUNI1x10GEXP_BITMSK_SYSPCSLB 0x0200
584 #define SUNI1x10GEXP_BITMSK_LINEPCSLB 0x0100
585 #define SUNI1x10GEXP_BITMSK_MSTAT_BYPASS 0x0080
586 #define SUNI1x10GEXP_BITMSK_RXXG_BYPASS 0x0040
587 #define SUNI1x10GEXP_BITMSK_TXXG_BYPASS 0x0020
588 #define SUNI1x10GEXP_BITMSK_SOP_PAD_EN 0x0010
589 #define SUNI1x10GEXP_BITMSK_LOS_INV 0x0002
590 #define SUNI1x10GEXP_BITMSK_OVERRIDE_LOS 0x0001
605 #define SUNI1x10GEXP_BITMSK_TOP_SXRA_EXPIRED 0x0200
606 #define SUNI1x10GEXP_BITMSK_TOP_MDIO_BUSY 0x0100
607 #define SUNI1x10GEXP_BITMSK_TOP_DTRB 0x0080
608 #define SUNI1x10GEXP_BITMSK_TOP_EXPIRED 0x0040
609 #define SUNI1x10GEXP_BITMSK_TOP_PAUSED 0x0020
610 #define SUNI1x10GEXP_BITMSK_TOP_PL4_ID_DOOL 0x0010
611 #define SUNI1x10GEXP_BITMSK_TOP_PL4_IS_DOOL 0x0008
612 #define SUNI1x10GEXP_BITMSK_TOP_PL4_ID_ROOL 0x0004
613 #define SUNI1x10GEXP_BITMSK_TOP_PL4_IS_ROOL 0x0002
614 #define SUNI1x10GEXP_BITMSK_TOP_PL4_OUT_ROOL 0x0001
629 #define SUNI1x10GEXP_BITMSK_TIP 0x8000
630 #define SUNI1x10GEXP_BITMSK_XAUI_REF_CLKA 0x0100
631 #define SUNI1x10GEXP_BITMSK_RXLANE3CLKA 0x0080
632 #define SUNI1x10GEXP_BITMSK_RXLANE2CLKA 0x0040
633 #define SUNI1x10GEXP_BITMSK_RXLANE1CLKA 0x0020
634 #define SUNI1x10GEXP_BITMSK_RXLANE0CLKA 0x0010
635 #define SUNI1x10GEXP_BITMSK_CSUCLKA 0x0008
636 #define SUNI1x10GEXP_BITMSK_TDCLKA 0x0004
637 #define SUNI1x10GEXP_BITMSK_RSCLKA 0x0002
638 #define SUNI1x10GEXP_BITMSK_RDCLKA 0x0001
648 #define SUNI1x10GEXP_BITMSK_MDIO_RDINC 0x0010
649 #define SUNI1x10GEXP_BITMSK_MDIO_RSTAT 0x0008
650 #define SUNI1x10GEXP_BITMSK_MDIO_LCTLD 0x0004
651 #define SUNI1x10GEXP_BITMSK_MDIO_LCTLA 0x0002
652 #define SUNI1x10GEXP_BITMSK_MDIO_SPRE 0x0001
658 #define SUNI1x10GEXP_BITMSK_MDIO_BUSY_EN 0x0001
664 #define SUNI1x10GEXP_BITMSK_MDIO_BUSYI 0x0001
671 #define SUNI1x10GEXP_BITMSK_MDIO_DEVADR 0x1F00
672 #define SUNI1x10GEXP_BITOFF_MDIO_DEVADR 8
673 #define SUNI1x10GEXP_BITMSK_MDIO_PRTADR 0x001F
674 #define SUNI1x10GEXP_BITOFF_MDIO_PRTADR 0
686 #define SUNI1x10GEXP_BITMSK_MDO_OD_ENB 0x0040
687 #define SUNI1x10GEXP_BITMSK_MDI_INV 0x0020
688 #define SUNI1x10GEXP_BITMSK_MDI_SEL 0x0010
689 #define SUNI1x10GEXP_BITMSK_RXOAMEN 0x0008
690 #define SUNI1x10GEXP_BITMSK_RXOAMCLKEN 0x0004
691 #define SUNI1x10GEXP_BITMSK_TXOAMEN 0x0002
692 #define SUNI1x10GEXP_BITMSK_TXOAMCLKEN 0x0001
713 #define SUNI1x10GEXP_BITMSK_TOP_PL4IO_INT 0x8000
714 #define SUNI1x10GEXP_BITMSK_TOP_IRAM_INT 0x4000
715 #define SUNI1x10GEXP_BITMSK_TOP_ERAM_INT 0x2000
716 #define SUNI1x10GEXP_BITMSK_TOP_XAUI_INT 0x1000
717 #define SUNI1x10GEXP_BITMSK_TOP_MSTAT_INT 0x0800
718 #define SUNI1x10GEXP_BITMSK_TOP_RXXG_INT 0x0400
719 #define SUNI1x10GEXP_BITMSK_TOP_TXXG_INT 0x0200
720 #define SUNI1x10GEXP_BITMSK_TOP_XRF_INT 0x0100
721 #define SUNI1x10GEXP_BITMSK_TOP_XTEF_INT 0x0080
722 #define SUNI1x10GEXP_BITMSK_TOP_MDIO_BUSY_INT 0x0040
723 #define SUNI1x10GEXP_BITMSK_TOP_RXOAM_INT 0x0020
724 #define SUNI1x10GEXP_BITMSK_TOP_TXOAM_INT 0x0010
725 #define SUNI1x10GEXP_BITMSK_TOP_IFLX_INT 0x0008
726 #define SUNI1x10GEXP_BITMSK_TOP_EFLX_INT 0x0004
727 #define SUNI1x10GEXP_BITMSK_TOP_PL4ODP_INT 0x0002
728 #define SUNI1x10GEXP_BITMSK_TOP_PL4IDU_INT 0x0001
734 #define SUNI1x10GEXP_BITMSK_TOP_INTE 0x8000
743 #define SUNI1x10GEXP_BITMSK_RF_VAL 0x0080
744 #define SUNI1x10GEXP_BITMSK_RF_OVERRIDE 0x0040
745 #define SUNI1x10GEXP_BITMSK_LF_VAL 0x0020
746 #define SUNI1x10GEXP_BITMSK_LF_OVERRIDE 0x0010
747 #define SUNI1x10GEXP_BITMSK_LFRF_OVERRIDE_VAL 0x00F0
753 #define SUNI1x10GEXP_BITMSK_EN_IDLE_REP 0x0070
762 #define SUNI1x10GEXP_BITMSK_RXEQB 0x0FF0
763 #define SUNI1x10GEXP_BITOFF_RXEQB_3 10
764 #define SUNI1x10GEXP_BITOFF_RXEQB_2 8
765 #define SUNI1x10GEXP_BITOFF_RXEQB_1 6
766 #define SUNI1x10GEXP_BITOFF_RXEQB_0 4
776 #define SUNI1x10GEXP_BITMSK_YSEL 0x1000
777 #define SUNI1x10GEXP_BITMSK_PRE_EMPH 0x00F0
778 #define SUNI1x10GEXP_BITMSK_PRE_EMPH_3 0x0080
779 #define SUNI1x10GEXP_BITMSK_PRE_EMPH_2 0x0040
780 #define SUNI1x10GEXP_BITMSK_PRE_EMPH_1 0x0020
781 #define SUNI1x10GEXP_BITMSK_PRE_EMPH_0 0x0010
790 #define SUNI1x10GEXP_BITMSK_LASIE 0x0008
791 #define SUNI1x10GEXP_BITMSK_SPLL_RAE 0x0004
792 #define SUNI1x10GEXP_BITMSK_MPLL_RAE 0x0002
793 #define SUNI1x10GEXP_BITMSK_PLL_LOCKE 0x0001
802 #define SUNI1x10GEXP_BITMSK_LASIV 0x0008
803 #define SUNI1x10GEXP_BITMSK_SPLL_RAV 0x0004
804 #define SUNI1x10GEXP_BITMSK_MPLL_RAV 0x0002
805 #define SUNI1x10GEXP_BITMSK_PLL_LOCKV 0x0001
814 #define SUNI1x10GEXP_BITMSK_LASII 0x0008
815 #define SUNI1x10GEXP_BITMSK_SPLL_RAI 0x0004
816 #define SUNI1x10GEXP_BITMSK_MPLL_RAI 0x0002
817 #define SUNI1x10GEXP_BITMSK_PLL_LOCKI 0x0001
825 #define SUNI1x10GEXP_BITMSK_DUALTX 0x1000
826 #define SUNI1x10GEXP_BITMSK_HC 0x0600
827 #define SUNI1x10GEXP_BITOFF_HC_0 9
842 #define SUNI1x10GEXP_BITMSK_RXXG_RXEN 0x8000
843 #define SUNI1x10GEXP_BITMSK_RXXG_ROCF 0x4000
844 #define SUNI1x10GEXP_BITMSK_RXXG_PAD_STRIP 0x2000
845 #define SUNI1x10GEXP_BITMSK_RXXG_PUREP 0x0400
846 #define SUNI1x10GEXP_BITMSK_RXXG_LONGP 0x0200
847 #define SUNI1x10GEXP_BITMSK_RXXG_PARF 0x0100
848 #define SUNI1x10GEXP_BITMSK_RXXG_FLCHK 0x0080
849 #define SUNI1x10GEXP_BITMSK_RXXG_PASS_CTRL 0x0020
850 #define SUNI1x10GEXP_BITMSK_RXXG_CRC_STRIP 0x0008
856 #define SUNI1x10GEXP_BITMSK_RXXG_HDRSIZE 0x00FF
868 #define SUNI1x10GEXP_BITMSK_RXXG_MIN_LERRE 0x8000
869 #define SUNI1x10GEXP_BITMSK_RXXG_MAX_LERRE 0x4000
870 #define SUNI1x10GEXP_BITMSK_RXXG_LINE_ERRE 0x1000
871 #define SUNI1x10GEXP_BITMSK_RXXG_RX_OVRE 0x0400
872 #define SUNI1x10GEXP_BITMSK_RXXG_ADR_FILTERE 0x0200
873 #define SUNI1x10GEXP_BITMSK_RXXG_ERR_FILTERRE 0x0100
874 #define SUNI1x10GEXP_BITMSK_RXXG_PRMB_ERRE 0x0020
886 #define SUNI1x10GEXP_BITMSK_RXXG_MIN_LERRI 0x8000
887 #define SUNI1x10GEXP_BITMSK_RXXG_MAX_LERRI 0x4000
888 #define SUNI1x10GEXP_BITMSK_RXXG_LINE_ERRI 0x1000
889 #define SUNI1x10GEXP_BITMSK_RXXG_RX_OVRI 0x0400
890 #define SUNI1x10GEXP_BITMSK_RXXG_ADR_FILTERI 0x0200
891 #define SUNI1x10GEXP_BITMSK_RXXG_ERR_FILTERI 0x0100
892 #define SUNI1x10GEXP_BITMSK_RXXG_PRMB_ERRE 0x0020
898 #define SUNI1x10GEXP_BITMSK_RXXG_CUT_THRU 0x0007
899 #define SUNI1x10GEXP_BITOFF_RXXG_CUT_THRU 0
905 #define SUNI1x10GEXP_BITMSK_RXXG_VID_MATCH 0x0FFF
906 #define SUNI1x10GEXP_BITOFF_RXXG_VID_MATCH 0
915 #define SUNI1x10GEXP_BITMSK_RXXG_FORWARD_ENABLE 0x0008
916 #define SUNI1x10GEXP_BITMSK_RXXG_VLAN_ENABLE 0x0004
917 #define SUNI1x10GEXP_BITMSK_RXXG_SRC_ADDR 0x0002
918 #define SUNI1x10GEXP_BITMSK_RXXG_MATCH_ENABLE 0x0001
925 #define SUNI1x10GEXP_BITMSK_RXXG_PMODE 0x0002
926 #define SUNI1x10GEXP_BITMSK_RXXG_MHASH_EN 0x0001
933 #define SUNI1x10GEXP_BITMSK_EN_PKT_GEN 0x0040
934 #define SUNI1x10GEXP_BITMSK_PATT 0x001C
935 #define SUNI1x10GEXP_BITOFF_PATT 2
944 #define SUNI1x10GEXP_BITMSK_LANE_HICERE 0x1E00
945 #define SUNI1x10GEXP_BITOFF_LANE_HICERE 9
946 #define SUNI1x10GEXP_BITMSK_HS_SD_LANEE 0x01E0
947 #define SUNI1x10GEXP_BITOFF_HS_SD_LANEE 5
948 #define SUNI1x10GEXP_BITMSK_ALIGN_STATUS_ERRE 0x0010
949 #define SUNI1x10GEXP_BITMSK_LANE_SYNC_STAT_ERRE 0x000F
950 #define SUNI1x10GEXP_BITOFF_LANE_SYNC_STAT_ERRE 0
959 #define SUNI1x10GEXP_BITMSK_LANE_HICERI 0x1E00
960 #define SUNI1x10GEXP_BITOFF_LANE_HICERI 9
961 #define SUNI1x10GEXP_BITMSK_HS_SD_LANEI 0x01E0
962 #define SUNI1x10GEXP_BITOFF_HS_SD_LANEI 5
963 #define SUNI1x10GEXP_BITMSK_ALIGN_STATUS_ERRI 0x0010
964 #define SUNI1x10GEXP_BITMSK_LANE_SYNC_STAT_ERRI 0x000F
965 #define SUNI1x10GEXP_BITOFF_LANE_SYNC_STAT_ERRI 0
973 #define SUNI1x10GEXP_BITMSK_HS_SD_LANE3 0x0100
974 #define SUNI1x10GEXP_BITMSK_HS_SD_LANE2 0x0080
975 #define SUNI1x10GEXP_BITMSK_HS_SD_LANE1 0x0040
976 #define SUNI1x10GEXP_BITMSK_HS_SD_LANE0 0x0020
977 #define SUNI1x10GEXP_BITMSK_ALIGN_STATUS_ERR 0x0010
978 #define SUNI1x10GEXP_BITMSK_LANE3_SYNC_STAT_ERR 0x0008
979 #define SUNI1x10GEXP_BITMSK_LANE2_SYNC_STAT_ERR 0x0004
980 #define SUNI1x10GEXP_BITMSK_LANE1_SYNC_STAT_ERR 0x0002
981 #define SUNI1x10GEXP_BITMSK_LANE0_SYNC_STAT_ERR 0x0001
988 #define SUNI1x10GEXP_BITMSK_LANE_OVERRUNE 0x00F0
989 #define SUNI1x10GEXP_BITOFF_LANE_OVERRUNE 4
990 #define SUNI1x10GEXP_BITMSK_LANE_UNDERRUNE 0x000F
991 #define SUNI1x10GEXP_BITOFF_LANE_UNDERRUNE 0
998 #define SUNI1x10GEXP_BITMSK_LANE_OVERRUNI 0x00F0
999 #define SUNI1x10GEXP_BITOFF_LANE_OVERRUNI 4
1000 #define SUNI1x10GEXP_BITMSK_LANE_UNDERRUNI 0x000F
1001 #define SUNI1x10GEXP_BITOFF_LANE_UNDERRUNI 0
1011 #define SUNI1x10GEXP_BITMSK_RXOAM_BUSY 0x8000
1012 #define SUNI1x10GEXP_BITMSK_RXOAM_F2_SEL 0x7000
1013 #define SUNI1x10GEXP_BITOFF_RXOAM_F2_SEL 12
1014 #define SUNI1x10GEXP_BITMSK_RXOAM_F1_SEL 0x0700
1015 #define SUNI1x10GEXP_BITOFF_RXOAM_F1_SEL 8
1016 #define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_CTRL 0x00C0
1017 #define SUNI1x10GEXP_BITOFF_RXOAM_FILTER_CTRL 6
1018 #define SUNI1x10GEXP_BITMSK_RXOAM_PX_EN 0x003F
1019 #define SUNI1x10GEXP_BITOFF_RXOAM_PX_EN 0
1026 #define SUNI1x10GEXP_BITMSK_RXOAM_FX_MASK 0xFF00
1027 #define SUNI1x10GEXP_BITOFF_RXOAM_FX_MASK 8
1028 #define SUNI1x10GEXP_BITMSK_RXOAM_FX_VAL 0x00FF
1029 #define SUNI1x10GEXP_BITOFF_RXOAM_FX_VAl 0
1037 #define SUNI1x10GEXP_BITMSK_RXOAM_REC_BYTE_VAL 0x2000
1038 #define SUNI1x10GEXP_BITMSK_RXOAM_BYPASS_MODE 0x0C00
1039 #define SUNI1x10GEXP_BITOFF_RXOAM_BYPASS_MODE 10
1040 #define SUNI1x10GEXP_BITMSK_RXOAM_PX_CLEAR 0x003F
1041 #define SUNI1x10GEXP_BITOFF_RXOAM_PX_CLEAR 0
1049 #define SUNI1x10GEXP_BITMSK_RXOAM_COSET 0xFF00
1050 #define SUNI1x10GEXP_BITOFF_RXOAM_COSET 8
1051 #define SUNI1x10GEXP_BITMSK_RXOAM_HEC_ERR_PKT 0x0004
1052 #define SUNI1x10GEXP_BITMSK_RXOAM_HEC_EN 0x0001
1068 #define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_THRSHE 0x0400
1069 #define SUNI1x10GEXP_BITMSK_RXOAM_OAM_ERRE 0x0200
1070 #define SUNI1x10GEXP_BITMSK_RXOAM_HECE_THRSHE 0x0100
1071 #define SUNI1x10GEXP_BITMSK_RXOAM_SOPE 0x0080
1072 #define SUNI1x10GEXP_BITMSK_RXOAM_RFE 0x0040
1073 #define SUNI1x10GEXP_BITMSK_RXOAM_LFE 0x0020
1074 #define SUNI1x10GEXP_BITMSK_RXOAM_DV_ERRE 0x0010
1075 #define SUNI1x10GEXP_BITMSK_RXOAM_DATA_INVALIDE 0x0008
1076 #define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_DROPE 0x0004
1077 #define SUNI1x10GEXP_BITMSK_RXOAM_HECE 0x0002
1078 #define SUNI1x10GEXP_BITMSK_RXOAM_OFLE 0x0001
1094 #define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_THRSHI 0x0400
1095 #define SUNI1x10GEXP_BITMSK_RXOAM_OAM_ERRI 0x0200
1096 #define SUNI1x10GEXP_BITMSK_RXOAM_HECE_THRSHI 0x0100
1097 #define SUNI1x10GEXP_BITMSK_RXOAM_SOPI 0x0080
1098 #define SUNI1x10GEXP_BITMSK_RXOAM_RFI 0x0040
1099 #define SUNI1x10GEXP_BITMSK_RXOAM_LFI 0x0020
1100 #define SUNI1x10GEXP_BITMSK_RXOAM_DV_ERRI 0x0010
1101 #define SUNI1x10GEXP_BITMSK_RXOAM_DATA_INVALIDI 0x0008
1102 #define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_DROPI 0x0004
1103 #define SUNI1x10GEXP_BITMSK_RXOAM_HECI 0x0002
1104 #define SUNI1x10GEXP_BITMSK_RXOAM_OFLI 0x0001
1113 #define SUNI1x10GEXP_BITMSK_RXOAM_FILTER_THRSHV 0x0400
1114 #define SUNI1x10GEXP_BITMSK_RXOAM_HECE_THRSHV 0x0100
1115 #define SUNI1x10GEXP_BITMSK_RXOAM_RFV 0x0040
1116 #define SUNI1x10GEXP_BITMSK_RXOAM_LFV 0x0020
1124 #define SUNI1x10GEXP_BITMSK_MSTAT_WRITE 0x0004
1125 #define SUNI1x10GEXP_BITMSK_MSTAT_CLEAR 0x0002
1126 #define SUNI1x10GEXP_BITMSK_MSTAT_SNAP 0x0001
1132 #define SUNI1x10GEXP_BITMSK_MSTAT_WRITE_ADDRESS 0x003F
1133 #define SUNI1x10GEXP_BITOFF_MSTAT_WRITE_ADDRESS 0
1141 #define SUNI1x10GEXP_BITMSK_IFLX_IRCU_ENABLE 0x8000
1142 #define SUNI1x10GEXP_BITMSK_IFLX_IDSWT_ENABLE 0x4000
1143 #define SUNI1x10GEXP_BITMSK_IFLX_IFD_CNT 0x3FFF
1144 #define SUNI1x10GEXP_BITOFF_IFLX_IFD_CNT 0
1150 #define SUNI1x10GEXP_BITMSK_IFLX_OVFE 0x0001
1156 #define SUNI1x10GEXP_BITMSK_IFLX_OVFI 0x0001
1163 #define SUNI1x10GEXP_BITMSK_IFLX_BUSY 0x8000
1164 #define SUNI1x10GEXP_BITMSK_IFLX_RWB 0x4000
1170 #define SUNI1x10GEXP_BITMSK_IFLX_LOLIM 0x03FF
1171 #define SUNI1x10GEXP_BITOFF_IFLX_LOLIM 0
1177 #define SUNI1x10GEXP_BITMSK_IFLX_HILIM 0x03FF
1178 #define SUNI1x10GEXP_BITOFF_IFLX_HILIM 0
1186 #define SUNI1x10GEXP_BITMSK_IFLX_FULL 0x8000
1187 #define SUNI1x10GEXP_BITMSK_IFLX_AFULL 0x4000
1188 #define SUNI1x10GEXP_BITMSK_IFLX_AFTH 0x3FFF
1189 #define SUNI1x10GEXP_BITOFF_IFLX_AFTH 0
1197 #define SUNI1x10GEXP_BITMSK_IFLX_EMPTY 0x8000
1198 #define SUNI1x10GEXP_BITMSK_IFLX_AEMPTY 0x4000
1199 #define SUNI1x10GEXP_BITMSK_IFLX_AETH 0x3FFF
1200 #define SUNI1x10GEXP_BITOFF_IFLX_AETH 0
1208 #define SUNI1x10GEXP_BITMSK_PL4MOS_RE_INIT 0x0008
1209 #define SUNI1x10GEXP_BITMSK_PL4MOS_EN 0x0004
1210 #define SUNI1x10GEXP_BITMSK_PL4MOS_NO_STATUS 0x0002
1216 #define SUNI1x10GEXP_BITMSK_PL4MOS_MAX_BURST1 0x0FFF
1217 #define SUNI1x10GEXP_BITOFF_PL4MOS_MAX_BURST1 0
1223 #define SUNI1x10GEXP_BITMSK_PL4MOS_MAX_BURST2 0x0FFF
1224 #define SUNI1x10GEXP_BITOFF_PL4MOS_MAX_BURST2 0
1230 #define SUNI1x10GEXP_BITMSK_PL4MOS_MAX_TRANSFER 0x00FF
1231 #define SUNI1x10GEXP_BITOFF_PL4MOS_MAX_TRANSFER 0
1240 #define SUNI1x10GEXP_BITMSK_PL4ODP_REPEAT_T 0xF000
1241 #define SUNI1x10GEXP_BITOFF_PL4ODP_REPEAT_T 12
1242 #define SUNI1x10GEXP_BITMSK_PL4ODP_SOP_RULE 0x0100
1243 #define SUNI1x10GEXP_BITMSK_PL4ODP_EN_PORTS 0x0002
1244 #define SUNI1x10GEXP_BITMSK_PL4ODP_EN_DFWD 0x0001
1250 #define SUNI1x10GEXP_BITMSK_PL4ODP_OUT_DISE 0x0001
1254 #define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_EOPEOBE 0x0080
1255 #define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_ERREOPE 0x0040
1256 #define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_MEOPE 0x0008
1257 #define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_MSOPE 0x0004
1258 #define SUNI1x10GEXP_BITMSK_PL4ODP_ES_OVRE 0x0002
1265 #define SUNI1x10GEXP_BITMSK_PL4ODP_OUT_DISI 0x0001
1269 #define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_EOPEOBI 0x0080
1270 #define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_ERREOPI 0x0040
1271 #define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_MEOPI 0x0008
1272 #define SUNI1x10GEXP_BITMSK_PL4ODP_PPE_MSOPI 0x0004
1273 #define SUNI1x10GEXP_BITMSK_PL4ODP_ES_OVRI 0x0002
1284 #define SUNI1x10GEXP_BITMSK_PL4IO_OUT_ROOLV 0x8000
1285 #define SUNI1x10GEXP_BITMSK_PL4IO_IS_ROOLV 0x1000
1286 #define SUNI1x10GEXP_BITMSK_PL4IO_DIP2_ERRV 0x0800
1287 #define SUNI1x10GEXP_BITMSK_PL4IO_ID_ROOLV 0x0100
1288 #define SUNI1x10GEXP_BITMSK_PL4IO_IS_DOOLV 0x0010
1289 #define SUNI1x10GEXP_BITMSK_PL4IO_ID_DOOLV 0x0001
1300 #define SUNI1x10GEXP_BITMSK_PL4IO_OUT_ROOLI 0x8000
1301 #define SUNI1x10GEXP_BITMSK_PL4IO_IS_ROOLI 0x1000
1302 #define SUNI1x10GEXP_BITMSK_PL4IO_DIP2_ERRI 0x0800
1303 #define SUNI1x10GEXP_BITMSK_PL4IO_ID_ROOLI 0x0100
1304 #define SUNI1x10GEXP_BITMSK_PL4IO_IS_DOOLI 0x0010
1305 #define SUNI1x10GEXP_BITMSK_PL4IO_ID_DOOLI 0x0001
1316 #define SUNI1x10GEXP_BITMSK_PL4IO_OUT_ROOLE 0x8000
1317 #define SUNI1x10GEXP_BITMSK_PL4IO_IS_ROOLE 0x1000
1318 #define SUNI1x10GEXP_BITMSK_PL4IO_DIP2_ERRE 0x0800
1319 #define SUNI1x10GEXP_BITMSK_PL4IO_ID_ROOLE 0x0100
1320 #define SUNI1x10GEXP_BITMSK_PL4IO_IS_DOOLE 0x0010
1321 #define SUNI1x10GEXP_BITMSK_PL4IO_ID_DOOLE 0x0001
1328 #define SUNI1x10GEXP_BITMSK_PL4IO_REF_LIMIT 0xFF00
1329 #define SUNI1x10GEXP_BITOFF_PL4IO_REF_LIMIT 8
1330 #define SUNI1x10GEXP_BITMSK_PL4IO_TRAN_LIMIT 0x00FF
1331 #define SUNI1x10GEXP_BITOFF_PL4IO_TRAN_LIMIT 0
1338 #define SUNI1x10GEXP_BITMSK_PL4IO_IN_MUL 0xFF00
1339 #define SUNI1x10GEXP_BITOFF_PL4IO_IN_MUL 8
1340 #define SUNI1x10GEXP_BITMSK_PL4IO_OUT_MUL 0x00FF
1341 #define SUNI1x10GEXP_BITOFF_PL4IO_OUT_MUL 0
1356 #define SUNI1x10GEXP_BITMSK_PL4IO_DIP2_ERR_CHK 0x8000
1357 #define SUNI1x10GEXP_BITMSK_PL4IO_ODAT_DIS 0x0800
1358 #define SUNI1x10GEXP_BITMSK_PL4IO_TRAIN_DIS 0x0400
1359 #define SUNI1x10GEXP_BITMSK_PL4IO_OSTAT_DIS 0x0200
1360 #define SUNI1x10GEXP_BITMSK_PL4IO_ISTAT_DIS 0x0100
1361 #define SUNI1x10GEXP_BITMSK_PL4IO_NO_ISTAT 0x0080
1362 #define SUNI1x10GEXP_BITMSK_PL4IO_STAT_OUTSEL 0x0040
1363 #define SUNI1x10GEXP_BITMSK_PL4IO_INSEL 0x0020
1364 #define SUNI1x10GEXP_BITMSK_PL4IO_DLSEL 0x0010
1365 #define SUNI1x10GEXP_BITMSK_PL4IO_OUTSEL 0x0003
1366 #define SUNI1x10GEXP_BITOFF_PL4IO_OUTSEL 0
1380 #define SUNI1x10GEXP_BITMSK_TXXG_TXEN0 0x8000
1381 #define SUNI1x10GEXP_BITMSK_TXXG_HOSTPAUSE 0x2000
1382 #define SUNI1x10GEXP_BITMSK_TXXG_IPGT 0x1F80
1383 #define SUNI1x10GEXP_BITOFF_TXXG_IPGT 7
1384 #define SUNI1x10GEXP_BITMSK_TXXG_32BIT_ALIGN 0x0020
1385 #define SUNI1x10GEXP_BITMSK_TXXG_CRCEN 0x0010
1386 #define SUNI1x10GEXP_BITMSK_TXXG_FCTX 0x0008
1387 #define SUNI1x10GEXP_BITMSK_TXXG_FCRX 0x0004
1388 #define SUNI1x10GEXP_BITMSK_TXXG_PADEN 0x0002
1389 #define SUNI1x10GEXP_BITMSK_TXXG_SPRE 0x0001
1395 #define SUNI1x10GEXP_BITMSK_TXXG_HDRSIZE 0x00FF
1405 #define SUNI1x10GEXP_BITMSK_TXXG_FIFO_ERRE 0x8000
1406 #define SUNI1x10GEXP_BITMSK_TXXG_FIFO_UDRE 0x4000
1407 #define SUNI1x10GEXP_BITMSK_TXXG_MAX_LERRE 0x2000
1408 #define SUNI1x10GEXP_BITMSK_TXXG_MIN_LERRE 0x1000
1409 #define SUNI1x10GEXP_BITMSK_TXXG_XFERE 0x0800
1419 #define SUNI1x10GEXP_BITMSK_TXXG_FIFO_ERRI 0x8000
1420 #define SUNI1x10GEXP_BITMSK_TXXG_FIFO_UDRI 0x4000
1421 #define SUNI1x10GEXP_BITMSK_TXXG_MAX_LERRI 0x2000
1422 #define SUNI1x10GEXP_BITMSK_TXXG_MIN_LERRI 0x1000
1423 #define SUNI1x10GEXP_BITMSK_TXXG_XFERI 0x0800
1430 #define SUNI1x10GEXP_BITMSK_TXXG_TXACTIVE 0x0002
1431 #define SUNI1x10GEXP_BITMSK_TXXG_PAUSED 0x0001
1437 #define SUNI1x10GEXP_BITMSK_TXXG_TX_MINFR 0x00FF
1438 #define SUNI1x10GEXP_BITOFF_TXXG_TX_MINFR 0
1444 #define SUNI1x10GEXP_BITMSK_TXXG_FC_PAUSE_QNTM 0x00FF
1445 #define SUNI1x10GEXP_BITOFF_TXXG_FC_PAUSE_QNTM 0
1451 #define SUNI1x10GEXP_BITMSK_XTEF_FORCE_PARITY_ERR 0x000F
1452 #define SUNI1x10GEXP_BITOFF_XTEF_FORCE_PARITY_ERR 0
1458 #define SUNI1x10GEXP_BITMSK_XTEF_LOST_SYNCI 0x0001
1464 #define SUNI1x10GEXP_BITMSK_XTEF_LOST_SYNCE 0x0001
1470 #define SUNI1x10GEXP_BITMSK_XTEF_LOST_SYNCV 0x0001
1481 #define SUNI1x10GEXP_BITMSK_TXOAM_HEC_EN 0x8000
1482 #define SUNI1x10GEXP_BITMSK_TXOAM_EMPTYCODE_EN 0x4000
1483 #define SUNI1x10GEXP_BITMSK_TXOAM_FORCE_IDLE 0x2000
1484 #define SUNI1x10GEXP_BITMSK_TXOAM_IGNORE_IDLE 0x1000
1485 #define SUNI1x10GEXP_BITMSK_TXOAM_PX_OVERWRITE 0x0FC0
1486 #define SUNI1x10GEXP_BITOFF_TXOAM_PX_OVERWRITE 6
1487 #define SUNI1x10GEXP_BITMSK_TXOAM_PX_SEL 0x003F
1488 #define SUNI1x10GEXP_BITOFF_TXOAM_PX_SEL 0
1497 #define SUNI1x10GEXP_BITMSK_TXOAM_MINIDIS 0x8000
1498 #define SUNI1x10GEXP_BITMSK_TXOAM_BUSY 0x4000
1499 #define SUNI1x10GEXP_BITMSK_TXOAM_TRANS_EN 0x2000
1500 #define SUNI1x10GEXP_BITMSK_TXOAM_MINIRATE 0x07FF
1508 #define SUNI1x10GEXP_BITMSK_TXOAM_FTHRESH 0x3C00
1509 #define SUNI1x10GEXP_BITOFF_TXOAM_FTHRESH 10
1510 #define SUNI1x10GEXP_BITMSK_TXOAM_MINIPOST 0x03C0
1511 #define SUNI1x10GEXP_BITOFF_TXOAM_MINIPOST 6
1512 #define SUNI1x10GEXP_BITMSK_TXOAM_MINIPRE 0x003F
1520 #define SUNI1x10GEXP_BITMSK_TXOAM_SOP_ERRE 0x0004
1521 #define SUNI1x10GEXP_BITMSK_TXOAM_OFLE 0x0002
1522 #define SUNI1x10GEXP_BITMSK_TXOAM_ERRE 0x0001
1530 #define SUNI1x10GEXP_BITMSK_TXOAM_SOP_ERRI 0x0004
1531 #define SUNI1x10GEXP_BITMSK_TXOAM_OFLI 0x0002
1532 #define SUNI1x10GEXP_BITMSK_TXOAM_ERRI 0x0001
1538 #define SUNI1x10GEXP_BITMSK_TXOAM_COSET 0x00FF
1545 #define SUNI1x10GEXP_BITMSK_EFLX_ERCU_EN 0x8000
1546 #define SUNI1x10GEXP_BITMSK_EFLX_EN_EDSWT 0x0080
1552 #define SUNI1x10GEXP_BITMSK_EFLX_OVF_ERR 0x2000
1559 #define SUNI1x10GEXP_BITMSK_EFLX_BUSY 0x8000
1560 #define SUNI1x10GEXP_BITMSK_EFLX_RDWRB 0x4000
1565 #define SUNI1x10GEXP_BITMSK_EFLX_LOLIM 0x03FF
1566 #define SUNI1x10GEXP_BITOFF_EFLX_LOLIM 0
1571 #define SUNI1x10GEXP_BITMSK_EFLX_HILIM 0x03FF
1572 #define SUNI1x10GEXP_BITOFF_EFLX_HILIM 0
1580 #define SUNI1x10GEXP_BITMSK_EFLX_FULL 0x8000
1581 #define SUNI1x10GEXP_BITMSK_EFLX_AFULL 0x4000
1582 #define SUNI1x10GEXP_BITMSK_EFLX_AFTH 0x3FFF
1583 #define SUNI1x10GEXP_BITOFF_EFLX_AFTH 0
1591 #define SUNI1x10GEXP_BITMSK_EFLX_EMPTY 0x8000
1592 #define SUNI1x10GEXP_BITMSK_EFLX_AEMPTY 0x4000
1593 #define SUNI1x10GEXP_BITMSK_EFLX_AETH 0x3FFF
1594 #define SUNI1x10GEXP_BITOFF_EFLX_AETH 0
1599 #define SUNI1x10GEXP_BITMSK_EFLX_CUT_THRU 0x3FFF
1600 #define SUNI1x10GEXP_BITOFF_EFLX_CUT_THRU 0
1606 #define SUNI1x10GEXP_BITMSK_EFLX_OVFE 0x0001
1612 #define SUNI1x10GEXP_BITMSK_EFLX_OVFI 0x0001
1618 #define SUNI1x10GEXP_BITMSK_EFLX_PROV 0x0001
1626 #define SUNI1x10GEXP_BITMSK_PL4IDU_SYNCH_ON_TRAIN 0x0004
1627 #define SUNI1x10GEXP_BITMSK_PL4IDU_EN_PORTS 0x0002
1628 #define SUNI1x10GEXP_BITMSK_PL4IDU_EN_DFWD 0x0001
1634 #define SUNI1x10GEXP_BITMSK_PL4IDU_DIP4E 0x0002
1640 #define SUNI1x10GEXP_BITMSK_PL4IDU_DIP4I 0x0002