On mainboard/asus/p8z77-v_le_plus, programmed MAC address is being reverted with controller resets done at loading and unloading of Linux r8169 kernel module. Ghidra examination of vendor BIOS reveals an additional sequence to program the MAC address into its ERI register block. This patch adds code to replicate that sequence, gated by a Kconfig so it's only included where necessary. BUG=https://ticket.coreboot.org/issues/579 TEST=When applied with mainboard level changes in CB:87437, specified MAC address now recognized and retained by Linux r8169 driver without further work. Change-Id: Iae33e24e564f9fba52acb16138fe89085d9eeb03 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87436 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
|---|---|---|
| .. | ||
| phy/m88e1512 | ||
| atl1e.c | ||
| chip.h | ||
| Kconfig | ||
| Makefile.mk | ||
| ne2k.c | ||
| ns8390.h | ||
| r8168.c | ||