aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/h77pro4-m
diff options
context:
space:
mode:
authorKevin Keijzer <kevin@quietlife.nl>2023-03-29 16:09:04 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-03-30 16:31:17 +0000
commitdb5181e330f9fe4f725767e41f15f8e100d2da2c (patch)
tree055c5bd3a76f5088108f676e3502434d669cefe7 /src/mainboard/asrock/h77pro4-m
parent1aa094a9af369cd1b82374c6b6b2b2122f14112a (diff)
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 <kevin@quietlife.nl> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74090 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/asrock/h77pro4-m')
-rw-r--r--src/mainboard/asrock/h77pro4-m/devicetree.cb1
1 files changed, 1 insertions, 0 deletions
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