igb: allow setting MAC address on i211 using a device tree blob
authorJohn Holland <jotihojr@gmail.com>
Thu, 18 Feb 2016 11:10:52 +0000 (12:10 +0100)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Apr 2016 19:38:36 +0000 (12:38 -0700)
commit806ffb1d504927d1449397377eac63bb63489266
tree36c885f95731bb3ef7ee9b03763fde42613b43a8
parent7f0ba845607364c76009e396a31651fa3a24bd1c
igb: allow setting MAC address on i211 using a device tree blob

The Intel i211 LOM PCIe Ethernet controllers' iNVM operates as an OTP
and has no external EEPROM interface [1]. The following allows the
driver to pickup the MAC address from a device tree blob when CONFIG_OF
has been enabled.

[1]
http://www.intel.com/content/www/us/en/embedded/products/networking/i211-ethernet-controller-datasheet.html

Signed-off-by: John Holland <jotihojr@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c