aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/igb/e1000_mac.c')
-rw-r--r--drivers/net/igb/e1000_mac.c76
1 files changed, 37 insertions, 39 deletions
diff --git a/drivers/net/igb/e1000_mac.c b/drivers/net/igb/e1000_mac.c
index 7d76bb085e10..986aa902f7ed 100644
--- a/drivers/net/igb/e1000_mac.c
+++ b/drivers/net/igb/e1000_mac.c
@@ -399,45 +399,43 @@ void igb_update_mc_addr_list(struct e1000_hw *hw,
399 **/ 399 **/
400void igb_clear_hw_cntrs_base(struct e1000_hw *hw) 400void igb_clear_hw_cntrs_base(struct e1000_hw *hw)
401{ 401{
402 u32 temp; 402 rd32(E1000_CRCERRS);
403 403 rd32(E1000_SYMERRS);
404 temp = rd32(E1000_CRCERRS); 404 rd32(E1000_MPC);
405 temp = rd32(E1000_SYMERRS); 405 rd32(E1000_SCC);
406 temp = rd32(E1000_MPC); 406 rd32(E1000_ECOL);
407 temp = rd32(E1000_SCC); 407 rd32(E1000_MCC);
408 temp = rd32(E1000_ECOL); 408 rd32(E1000_LATECOL);
409 temp = rd32(E1000_MCC); 409 rd32(E1000_COLC);
410 temp = rd32(E1000_LATECOL); 410 rd32(E1000_DC);
411 temp = rd32(E1000_COLC); 411 rd32(E1000_SEC);
412 temp = rd32(E1000_DC); 412 rd32(E1000_RLEC);
413 temp = rd32(E1000_SEC); 413 rd32(E1000_XONRXC);
414 temp = rd32(E1000_RLEC); 414 rd32(E1000_XONTXC);
415 temp = rd32(E1000_XONRXC); 415 rd32(E1000_XOFFRXC);
416 temp = rd32(E1000_XONTXC); 416 rd32(E1000_XOFFTXC);
417 temp = rd32(E1000_XOFFRXC); 417 rd32(E1000_FCRUC);
418 temp = rd32(E1000_XOFFTXC); 418 rd32(E1000_GPRC);
419 temp = rd32(E1000_FCRUC); 419 rd32(E1000_BPRC);
420 temp = rd32(E1000_GPRC); 420 rd32(E1000_MPRC);
421 temp = rd32(E1000_BPRC); 421 rd32(E1000_GPTC);
422 temp = rd32(E1000_MPRC); 422 rd32(E1000_GORCL);
423 temp = rd32(E1000_GPTC); 423 rd32(E1000_GORCH);
424 temp = rd32(E1000_GORCL); 424 rd32(E1000_GOTCL);
425 temp = rd32(E1000_GORCH); 425 rd32(E1000_GOTCH);
426 temp = rd32(E1000_GOTCL); 426 rd32(E1000_RNBC);
427 temp = rd32(E1000_GOTCH); 427 rd32(E1000_RUC);
428 temp = rd32(E1000_RNBC); 428 rd32(E1000_RFC);
429 temp = rd32(E1000_RUC); 429 rd32(E1000_ROC);
430 temp = rd32(E1000_RFC); 430 rd32(E1000_RJC);
431 temp = rd32(E1000_ROC); 431 rd32(E1000_TORL);
432 temp = rd32(E1000_RJC); 432 rd32(E1000_TORH);
433 temp = rd32(E1000_TORL); 433 rd32(E1000_TOTL);
434 temp = rd32(E1000_TORH); 434 rd32(E1000_TOTH);
435 temp = rd32(E1000_TOTL); 435 rd32(E1000_TPR);
436 temp = rd32(E1000_TOTH); 436 rd32(E1000_TPT);
437 temp = rd32(E1000_TPR); 437 rd32(E1000_MPTC);
438 temp = rd32(E1000_TPT); 438 rd32(E1000_BPTC);
439 temp = rd32(E1000_MPTC);
440 temp = rd32(E1000_BPTC);
441} 439}
442 440
443/** 441/**