[SeaBIOS] [PATCH] pci: map ethernet nics below 4G.

Gerd Hoffmann via SeaBIOS posted 1 patch 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/20261123151801.645879-1-kraxel@redhat.com
src/fw/pciinit.c | 2 ++
1 file changed, 2 insertions(+)
[SeaBIOS] [PATCH] pci: map ethernet nics below 4G.
Posted by Gerd Hoffmann via SeaBIOS 1 week ago
ipxe is unhappy if it can not access nic pci bars.

https://github.com/ipxe/ipxe/commit/fe070bf2de1a854329e1546cd4479c64f4ab428e

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 src/fw/pciinit.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c
index 5903fa26e7fc..e7d10440d877 100644
--- a/src/fw/pciinit.c
+++ b/src/fw/pciinit.c
@@ -766,6 +766,8 @@ static void pci_region_migrate_64bit_entries(struct pci_region *from,
             continue;
         if (entry->dev->class == PCI_CLASS_STORAGE_NVME)
             continue;
+        if (entry->dev->class == PCI_CLASS_NETWORK_ETHERNET)
+            continue;
         // Move from source list to destination list.
         hlist_del(&entry->node);
         hlist_add(&entry->node, last);
-- 
2.56.1

_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org