e1000e: separate out PHY statistics register updates
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 16 Jun 2010 13:26:41 +0000 (13:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jun 2010 05:12:15 +0000 (22:12 -0700)
commit8c7bbb925337705dd1459070ac620aeec6a29666
tree688e5310b27bc0a276a578eeacf8b9b272bc0504
parent3f0c16e84438d657d29446f85fe375794a93f159
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>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/netdev.c