The Intel 10 Gigabit NICs use the same simplified (aka "legacy") descriptor format and the same layout for descriptor register blocks as the Intel 1 Gigabit NICs. The offsets of the descriptor register blocks are not the same. Simplify reuse of the existing code by removing all hardcoded offsets for registers within descriptor register blocks, and ensuring that all offsets are calculated using the descriptor register block base address provided via intel_init_ring(). Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
248 |
|
248 |
|
249 |
|
249 |
|
250 |
|
250 |
|
251 |
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
|
|
|
|
251 |
|
|
|
252 |
|
|
|
253 |
|
|
|
254 |
|
|
255 |
|
255 |
|
256 |
|
256 |
|
257 |
|
257 |
|
|
|
||
468 |
|
468 |
|
469 |
|
469 |
|
470 |
|
470 |
|
471 |
|
|
|
|
471 |
|
|
472 |
|
472 |
|
473 |
|
473 |
|
474 |
|
474 |
|
|
|
||
599 |
|
599 |
|
600 |
|
600 |
|
601 |
|
601 |
|
602 |
|
|
|
|
602 |
|
|
603 |
|
603 |
|
604 |
|
604 |
|
605 |
|
605 |
|
|
|
||
175 |
|
175 |
|
176 |
|
176 |
|
177 |
|
177 |
|
178 |
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
178 |
|
191 |
|
179 |
|
192 |
|
180 |
|