From 623cbe552b42c8ab458f74f55dd9f4b773555f05 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 7 Mar 2023 09:03:48 +0100 Subject: [PATCH] mb/asrock/b75pro3-m: Advertise RTL NIC as onboard ethernet device Move the onboard Realtek NIC definition to a child device of PCIe port 6. This makes sure it is advertised as "onboard", such that it appears as eno0 on systemd/udev-based systems. This commit is very similar to https://review.coreboot.org/c/coreboot/+/73516 Signed-off-by: Fabian Groffen Change-Id: I0550ee9faddd65011ad914aef413a6d1b316c5ad Reviewed-on: https://review.coreboot.org/c/coreboot/+/73519 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Felix Singer --- src/mainboard/asrock/b75pro3-m/devicetree.cb | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainboard/asrock/b75pro3-m/devicetree.cb b/src/mainboard/asrock/b75pro3-m/devicetree.cb index 004233671a..c1d520b282 100644 --- a/src/mainboard/asrock/b75pro3-m/devicetree.cb +++ b/src/mainboard/asrock/b75pro3-m/devicetree.cb @@ -74,6 +74,7 @@ chip northbridge/intel/sandybridge end device ref pcie_rp6 on # PCIe Port #6, Realtek PCIe GbE Controller subsystemid 0x1849 0x1e1a + device pci 00.0 on end end device ref pcie_rp7 off # PCIe Port #7 end