Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

e1000e: fix typo in definition of E1000_CTRL_EXT_FORCE_SMBUS

This define is needed by i217.

Reported-by: Bjorn Mork <bjorn@mork.no>
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Bruce Allan and committed by
Jeff Kirsher
ba9e186f dc6b9b78

+1 -1
+1 -1
drivers/net/ethernet/intel/e1000e/defines.h
··· 76 76 /* Extended Device Control */ 77 77 #define E1000_CTRL_EXT_LPCD 0x00000004 /* LCD Power Cycle Done */ 78 78 #define E1000_CTRL_EXT_SDP3_DATA 0x00000080 /* Value of SW Definable Pin 3 */ 79 - #define E1000_CTRL_EXT_FORCE_SMBUS 0x00000004 /* Force SMBus mode*/ 79 + #define E1000_CTRL_EXT_FORCE_SMBUS 0x00000800 /* Force SMBus mode */ 80 80 #define E1000_CTRL_EXT_EE_RST 0x00002000 /* Reinitialize from EEPROM */ 81 81 #define E1000_CTRL_EXT_SPD_BYPS 0x00008000 /* Speed Select Bypass */ 82 82 #define E1000_CTRL_EXT_RO_DIS 0x00020000 /* Relaxed Ordering disable */