From bb0d839b6895698367d3eab31cfa01f12376ddb2 Mon Sep 17 00:00:00 2001 From: David Wu Date: Tue, 10 Apr 2018 20:04:08 +0800 Subject: mb/google/fizz: Add device index for dual LAN sku Fix dual LAN sku can't inherit correct MAC from VPD setting. BUG=b:77836343 BRANCH=Fizz TEST=Program the mac address to VPD in shell vpd -s ethernet_mac0= vpd -s ethernet_mac1= && reboot the system. Ensure the MAC address was fetched correctly by ifconfig command. Change-Id: Ic357a3f1435d6d08107520e40872f1003ef2edf3 Signed-off-by: David Wu Reviewed-on: https://review.coreboot.org/25587 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/mainboard/google/fizz/devicetree.cb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/fizz/devicetree.cb b/src/mainboard/google/fizz/devicetree.cb index 9d120ea9cf..db46bf8c90 100644 --- a/src/mainboard/google/fizz/devicetree.cb +++ b/src/mainboard/google/fizz/devicetree.cb @@ -354,6 +354,7 @@ chip soc/intel/skylake chip drivers/net register "customized_leds" = "0x0fa5" register "wake" = "GPE0_PCI_EXP" + register "device_index" = "1" device pci 00.0 on end end end # PCI Express Port 1 @@ -373,6 +374,7 @@ chip soc/intel/skylake device pci 1d.0 on # PCI Express Port 9 for 2nd LAN chip drivers/net register "customized_leds" = "0x0fa5" + register "device_index" = "2" device pci 00.0 on end end end # PCI Express Port 9 for BtoB -- cgit v1.2.3