|
@@ -247,10 +247,15 @@ static int intel_fetch_mac ( struct intel_nic *intel, uint8_t *hw_addr ) {
|
247
|
247
|
*/
|
248
|
248
|
static void __attribute__ (( unused )) intel_diag ( struct intel_nic *intel ) {
|
249
|
249
|
|
250
|
|
- DBGC ( intel, "INTEL %p TDH=%04x TDT=%04x RDH=%04x RDT=%04x\n", intel,
|
|
250
|
+ DBGC ( intel, "INTEL %p TX %04x(%02x)/%04x(%02x) "
|
|
251
|
+ "RX %04x(%02x)/%04x(%02x)\n", intel,
|
|
252
|
+ ( intel->tx.cons & 0xffff ),
|
251
|
253
|
readl ( intel->regs + intel->tx.reg + INTEL_xDH ),
|
|
254
|
+ ( intel->tx.prod & 0xffff ),
|
252
|
255
|
readl ( intel->regs + intel->tx.reg + INTEL_xDT ),
|
|
256
|
+ ( intel->rx.cons & 0xffff ),
|
253
|
257
|
readl ( intel->regs + intel->rx.reg + INTEL_xDH ),
|
|
258
|
+ ( intel->rx.prod & 0xffff ),
|
254
|
259
|
readl ( intel->regs + intel->rx.reg + INTEL_xDT ) );
|
255
|
260
|
}
|
256
|
261
|
|