[coreboot-gerrit] Change in coreboot[master]: mb/google/fizz: Add device index for 2nd LAN

David Wu (Code Review) gerrit at coreboot.org
Tue Apr 10 14:23:10 CEST 2018


David Wu has uploaded this change for review. ( https://review.coreboot.org/25587


Change subject: mb/google/fizz: Add device index for 2nd LAN
......................................................................

mb/google/fizz: Add device index for 2nd LAN

Fix 2nd LAN 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=<mac address> && reboot the system.
     Ensure the MAC address was fetched correctly by ifconfig command.

Change-Id: Ic357a3f1435d6d08107520e40872f1003ef2edf3
Signed-off-by: David Wu <david_wu at quantatw.com>
---
M src/mainboard/google/fizz/devicetree.cb
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/25587/1

diff --git a/src/mainboard/google/fizz/devicetree.cb b/src/mainboard/google/fizz/devicetree.cb
index 9d120ea..b957bc6 100644
--- a/src/mainboard/google/fizz/devicetree.cb
+++ b/src/mainboard/google/fizz/devicetree.cb
@@ -373,6 +373,7 @@
 		device pci 1d.0 on # PCI Express Port 9 for 2nd LAN
 			chip drivers/net
 				register "customized_leds" = "0x0fa5"
+				register "device_index" = "1"
 				device pci 00.0 on end
 			end
 		end # PCI Express Port 9 for BtoB

-- 
To view, visit https://review.coreboot.org/25587
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic357a3f1435d6d08107520e40872f1003ef2edf3
Gerrit-Change-Number: 25587
Gerrit-PatchSet: 1
Gerrit-Owner: David Wu <david_wu at quantatw.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180410/9b87f8ad/attachment-0001.html>


More information about the coreboot-gerrit mailing list