aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/ich8lan.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2010-06-16 09:26:41 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-19 01:12:15 -0400
commit8c7bbb925337705dd1459070ac620aeec6a29666 (patch)
tree688e5310b27bc0a276a578eeacf8b9b272bc0504 /drivers/net/e1000e/ich8lan.c
parent3f0c16e84438d657d29446f85fe375794a93f159 (diff)
e1000e: separate out PHY statistics register updates
The 82577/82578 parts have half-duplex statistics in PHY registers. These need only be read when in half-duplex and should all be read at once rather than one at a time to prevent excessive cycles of acquiring/releasing the PHY semaphore. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/ich8lan.c')
-rw-r--r--drivers/net/e1000e/ich8lan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c
index 5d8fad3bb203..70cd681fd1ce 100644
--- a/drivers/net/e1000e/ich8lan.c
+++ b/drivers/net/e1000e/ich8lan.c
@@ -3503,6 +3503,7 @@ struct e1000_info e1000_pch_info = {
3503 | FLAG_HAS_JUMBO_FRAMES 3503 | FLAG_HAS_JUMBO_FRAMES
3504 | FLAG_DISABLE_FC_PAUSE_TIME /* errata */ 3504 | FLAG_DISABLE_FC_PAUSE_TIME /* errata */
3505 | FLAG_APME_IN_WUC, 3505 | FLAG_APME_IN_WUC,
3506 .flags2 = FLAG2_HAS_PHY_STATS,
3506 .pba = 26, 3507 .pba = 26,
3507 .max_hw_frame_size = 4096, 3508 .max_hw_frame_size = 4096,
3508 .get_variants = e1000_get_variants_ich8lan, 3509 .get_variants = e1000_get_variants_ich8lan,