|
@@ -250,32 +250,6 @@ static int intel_fetch_mac ( struct intel_nic *intel, uint8_t *hw_addr ) {
|
250
|
250
|
return -ENOENT;
|
251
|
251
|
}
|
252
|
252
|
|
253
|
|
-/******************************************************************************
|
254
|
|
- *
|
255
|
|
- * Diagnostics
|
256
|
|
- *
|
257
|
|
- ******************************************************************************
|
258
|
|
- */
|
259
|
|
-
|
260
|
|
-/**
|
261
|
|
- * Dump diagnostic information
|
262
|
|
- *
|
263
|
|
- * @v intel Intel device
|
264
|
|
- */
|
265
|
|
-static void __attribute__ (( unused )) intel_diag ( struct intel_nic *intel ) {
|
266
|
|
-
|
267
|
|
- DBGC ( intel, "INTEL %p TX %04x(%02x)/%04x(%02x) "
|
268
|
|
- "RX %04x(%02x)/%04x(%02x)\n", intel,
|
269
|
|
- ( intel->tx.cons & 0xffff ),
|
270
|
|
- readl ( intel->regs + intel->tx.reg + INTEL_xDH ),
|
271
|
|
- ( intel->tx.prod & 0xffff ),
|
272
|
|
- readl ( intel->regs + intel->tx.reg + INTEL_xDT ),
|
273
|
|
- ( intel->rx.cons & 0xffff ),
|
274
|
|
- readl ( intel->regs + intel->rx.reg + INTEL_xDH ),
|
275
|
|
- ( intel->rx.prod & 0xffff ),
|
276
|
|
- readl ( intel->regs + intel->rx.reg + INTEL_xDT ) );
|
277
|
|
-}
|
278
|
|
-
|
279
|
253
|
/******************************************************************************
|
280
|
254
|
*
|
281
|
255
|
* Device reset
|