]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
drivers/net/e1000: Introduce CONFIG_E1000_NO_NVM
authorRojhalat Ibrahim <imr@rtschenk.de>
Mon, 7 Oct 2013 16:30:39 +0000 (18:30 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 22 Nov 2013 23:03:19 +0000 (17:03 -0600)
commit8712adfd0595ea68ce06fb22420489dacc3a6cc6
tree6fc2af8f2933d7fddd017093e6b1edab04e01edc
parent8e52533d109571915a0006533e2e1adb01face00
drivers/net/e1000: Introduce CONFIG_E1000_NO_NVM

The e1000 driver expects to always have some kind of non-volatile memory
attached directly to the ethernet controller chip. This means that I would
have to add an additional separate flash chip to my custom board just to
store essentially the MAC address. Since I don't want to do that, this patch
introduces a new config option CONFIG_E1000_NO_NVM. If defined it disables
all accesses to the NVM. I have tested the patch with a 82574 controller.

Signed-off-by: Rojhalat Ibrahim <imr@rtschenk.de>
drivers/net/e1000.c
drivers/net/e1000.h