Nick Nunley 43915c7c9a igb: only read phy specific stats if in internal phy mode
There are a couple statistics registers that are not meant to
be read when in SGMII/serdes mode. This patch adds a check to
verify mode before reading and updating these statistics.

Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-17 13:21:36 -08:00
..
2010-02-15 21:49:48 -08:00
2010-01-03 21:42:50 -08:00
2010-02-04 10:23:02 -08:00
2009-09-01 01:13:50 -07:00
2010-02-08 22:44:18 -08:00
2010-02-17 00:03:27 -08:00
2009-04-04 16:51:14 -07:00
2010-02-16 15:19:03 -08:00
2009-08-12 23:03:00 -07:00
2009-08-12 22:53:28 -07:00
2009-11-05 20:00:41 -08:00
2009-11-05 20:00:29 -08:00
2010-01-28 06:01:35 -08:00
2009-10-11 23:30:16 -07:00
2009-10-11 23:30:16 -07:00
2009-11-11 19:22:21 -08:00
2009-10-11 11:20:58 -07:00
2010-01-15 01:48:22 -08:00
2009-04-16 02:20:08 -07:00
2009-09-07 01:56:52 -07:00
2009-01-06 10:47:44 -08:00
2009-11-20 15:35:04 -08:00
2009-10-13 11:48:18 -07:00
2009-10-20 19:11:06 -07:00
2010-01-09 23:00:32 -08:00
2010-02-15 21:49:49 -08:00
2010-01-28 06:01:35 -08:00
2009-04-16 02:20:21 -07:00
2009-12-26 20:38:23 -08:00
2010-02-15 00:07:00 -08:00
2010-01-18 00:29:19 -08:00
2009-04-29 17:32:34 -07:00
2009-10-01 15:14:54 -07:00
2010-02-12 16:21:01 -08:00
2009-12-11 16:16:33 -08:00
2009-03-27 00:46:48 -07:00
2010-02-12 17:05:55 -08:00
2010-01-15 01:43:28 -08:00
2009-11-26 15:51:29 -08:00
2010-02-12 12:27:56 -08:00
2009-01-11 00:06:36 -08:00