mb/asus/p8z77-m: Make onboard NIC a child device below PCIe port 5

The Realtek RTL8111F NIC is currently not defined at all, nor as a child
device, resulting in the on_board flag not being set to 1.  This means
that Linux / udev will call the device enp3s0 rather than eno0, as it's
appropriate for on-board ethernet devices.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Change-Id: I95f01a466a59234d1cbe2420f208bf58ae28fcc6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75106
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
This commit is contained in:
Fabian Groffen 2023-05-10 21:39:32 +02:00 committed by Felix Singer
parent 316e2f469a
commit b20f8bd747
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ chip northbridge/intel/sandybridge
device pci 1c.2 off end # PCIe Port #3
device pci 1c.3 off end # PCIe Port #4
device pci 1c.4 on end # PCIe Port #5 (PCIe x1 slot)
device pci 1c.5 on end # PCIe Port #6
device pci 1c.5 on # PCIe Port #6 (RTL8111F GbE NIC)
subsystemid 0x1849 0x1e1a
device pci 00.0 on end # make onboard
end
device pci 1c.6 on end # PCIe Port #7 (PCI slot via ASM1083)
device pci 1c.7 off end # PCIe Port #8
device pci 1f.0 on # LPC bridge