From db5181e330f9fe4f725767e41f15f8e100d2da2c Mon Sep 17 00:00:00 2001 From: Kevin Keijzer Date: Wed, 29 Mar 2023 16:09:04 +0200 Subject: mb/asrock/h77pro4-m: Make onboard NIC a child device below PCIe port 6 The Realtek RTL8111E NIC is currently not defined as a child device, resulting in the on_board flag not being set to 1. This means that Linux / udev will call the device enp4s0 rather than eno0, as is appropriate for on-board ethernet devices. This patch defines the NIC as a child device of PCIe port 6, so that it's properly defined as an on-board device. Change-Id: I2e1b65e4d27852297a739e332c52c15a8c81b858 Signed-off-by: Kevin Keijzer Reviewed-on: https://review.coreboot.org/c/coreboot/+/74090 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/asrock/h77pro4-m/devicetree.cb | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/asrock/h77pro4-m/devicetree.cb') diff --git a/src/mainboard/asrock/h77pro4-m/devicetree.cb b/src/mainboard/asrock/h77pro4-m/devicetree.cb index 646b9a3411..42b8700783 100644 --- a/src/mainboard/asrock/h77pro4-m/devicetree.cb +++ b/src/mainboard/asrock/h77pro4-m/devicetree.cb @@ -47,6 +47,7 @@ chip northbridge/intel/sandybridge end device ref pcie_rp6 on # PCIe Port #6 - RTL8111E GbE subsystemid 0x1849 0x1e1a + device pci 00.0 on end # PCI 10ec:8168 end device ref pcie_rp7 on # PCIe Port #7 - slot "PCIE3", 1 lane subsystemid 0x1849 0x1e16 -- cgit v1.2.3