ok, I need a little bit more info than that.

Can you build a -current kernel with the diff below and send me the
(complete) dmesg output it produces?


Index: arch/amd64/pci/acpipci.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/pci/acpipci.c,v
retrieving revision 1.4
diff -u -p -r1.4 acpipci.c
--- arch/amd64/pci/acpipci.c    14 May 2020 13:07:11 -0000      1.4
+++ arch/amd64/pci/acpipci.c    19 May 2020 15:07:25 -0000
@@ -153,15 +153,6 @@ acpipci_attach(struct device *parent, st
 
        aml_parse_resource(&res, acpipci_parse_resources, sc);
 
-       if (sc->sc_acpi->sc_major < 5) {
-               extent_destroy(sc->sc_ioex);
-               extent_destroy(sc->sc_memex);
-
-               pci_init_extents();
-               sc->sc_ioex =  pciio_ex;
-               sc->sc_memex = pcimem_ex;
-       }
-
        printf("\n");
 
 #ifdef DIAGNOSTIC
@@ -169,6 +160,15 @@ acpipci_attach(struct device *parent, st
        extent_print(sc->sc_ioex);
        extent_print(sc->sc_memex);
 #endif
+
+       if (sc->sc_acpi->sc_major < 7) {
+               extent_destroy(sc->sc_ioex);
+               extent_destroy(sc->sc_memex);
+
+               pci_init_extents();
+               sc->sc_ioex =  pciio_ex;
+               sc->sc_memex = pcimem_ex;
+       }
 }
 
 void

Reply via email to