diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2010-06-16 13:26:41 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-19 05:12:15 (GMT) |
commit | 8c7bbb925337705dd1459070ac620aeec6a29666 (patch) | |
tree | 688e5310b27bc0a276a578eeacf8b9b272bc0504 /drivers/net/e1000e/e1000.h | |
parent | 3f0c16e84438d657d29446f85fe375794a93f159 (diff) | |
download | linux-fsl-qoriq-8c7bbb925337705dd1459070ac620aeec6a29666.tar.xz |
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/e1000.h')
-rw-r--r-- | drivers/net/e1000e/e1000.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000e/e1000.h b/drivers/net/e1000e/e1000.h index c0b3db4..79e7c4c 100644 --- a/drivers/net/e1000e/e1000.h +++ b/drivers/net/e1000e/e1000.h @@ -421,6 +421,7 @@ struct e1000_info { #define FLAG2_HAS_PHY_WAKEUP (1 << 1) #define FLAG2_IS_DISCARDING (1 << 2) #define FLAG2_DISABLE_ASPM_L1 (1 << 3) +#define FLAG2_HAS_PHY_STATS (1 << 4) #define E1000_RX_DESC_PS(R, i) \ (&(((union e1000_rx_desc_packet_split *)((R).desc))[i])) |