net: e1000: add support for writing to EEPROM
Port functions for writing to EEPROM, updating the checksum and
committing data to flash from the Linux kernel igb driver.
Functions were ported from Linux 4.8-rc2 (
694d0d0bb20).
Signed-off-by: Hannu Lounento <[email protected]>
CC: Joe Hershberger <[email protected]>
Signed-off-by: Martyn Welch <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>