• D
    e1000e: fix overrun of PHY RAR array · c3a0dce3
    David Ertman 提交于
    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: NDave Ertman <davidx.m.ertman@intel.com>
    CC: Shawn Rader <shawn.t.rader@intel.com>
    Tested-by: NAaron Brown <aaron.f.brown@intel.com>
    Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
    c3a0dce3
ich8lan.h 10.7 KB