net/e1000: provide access to iNVM even if a flash is present
An i210 (aka e1000_igb) supports two different non-volatile storages for
configuration. There is a built-in one-time programmable storage called
iNVM and an optional external SPI-Flash. If a flash is populated and
contains a valid configuration image the iNVM is not used (if I
understood the documentation correctly). Still the iNVM can be useful if
the flash is not configured. Also the iNVM contains manufacturing
identification information.

So it makes sense to provide the invm device even if a flash is present.

This patch also cleans up some confusion that suggests that invm is a
way to access the (simulated) eeprom structures and drops some unused
enum values.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8c9f670 commit 761bed13abcb9a5108ef8bbceba77f6f4e61e8e3
@Uwe Kleine-König Uwe Kleine-König authored on 22 Nov 2017
Sascha Hauer committed on 24 Nov 2017
Showing 2 changed files
View
drivers/net/e1000/e1000.h
View
drivers/net/e1000/eeprom.c