The iNVM storage is 2 Kib containing 64 32bit words (0-63). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> --- drivers/net/e1000/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/e1000/eeprom.c b/drivers/net/e1000/eeprom.c index e5d1c5921f5e..5ee545d8fd5d 100644 --- a/drivers/net/e1000/eeprom.c +++ b/drivers/net/e1000/eeprom.c @@ -1399,7 +1399,7 @@ int e1000_register_invm(struct e1000_hw *hw) hw->invm.cdev.ops = &e1000_invm_ops; hw->invm.cdev.priv = hw; hw->invm.cdev.name = xasprintf("e1000-invm%d", hw->dev->id); - hw->invm.cdev.size = 32 * E1000_INVM_DATA_MAX_N; + hw->invm.cdev.size = 4 * (E1000_INVM_DATA_MAX_N + 1); ret = devfs_create(&hw->invm.cdev); if (ret < 0) -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox