linux/drivers/net/ethernet/intel
David Ertman c3a0dce35a e1000e: fix overrun of PHY RAR array
When copying the MAC RAR registers to PHY there is an error in the
calculation of the rar_entry_count, which causes a write of unknown/
undefined register space in the MAC to unknown/undefined register space in
the PHY.

This patch fixes the overrun with writing to the PHY RAR and also fixes the
ethtool offline register tests so that the correctly addressed registers
have the appropriate bitmasks for R/W and RO bits for affected parts.

Shawn Rader gets credit for finding and fixing the register overrun.

Signed-off-by: Dave Ertman <davidx.m.ertman@intel.com>
CC: Shawn Rader <shawn.t.rader@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-09-13 10:19:56 -07:00
..
e1000 drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
e1000e e1000e: fix overrun of PHY RAR array 2013-09-13 10:19:56 -07:00
i40e i40e: include i40e in kernel proper 2013-09-11 02:28:40 -07:00
igb igb: Read flow control for i350 from correct EEPROM section 2013-09-12 16:24:55 -04:00
igbvf net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
ixgb drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
ixgbe ixgbe: fix ethtool reporting of supported links for SFP modules 2013-09-13 09:58:12 -07:00
ixgbevf drivers/net: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-03 22:28:04 -04:00
Kconfig i40e: include i40e in kernel proper 2013-09-11 02:28:40 -07:00
Makefile i40e: include i40e in kernel proper 2013-09-11 02:28:40 -07:00
e100.c e100: dump small buffers via %*ph 2013-07-28 02:06:38 -07:00