Index: src/sys/dev/pci/pm2fb.c =================================================================== RCS file: /cvsroot/src/sys/dev/pci/pm2fb.c,v retrieving revision 1.38 diff -u -r1.38 pm2fb.c --- src/sys/dev/pci/pm2fb.c 17 Feb 2026 09:40:54 -0000 1.38 +++ src/sys/dev/pci/pm2fb.c 6 Aug 2026 12:58:46 -0000 @@ -314,7 +314,7 @@ unsigned long defattr; bool is_console = FALSE; uint32_t flags; - int i; + int i, defmode = 0; sc->sc_pc = pa->pa_pc; sc->sc_pcitag = pa->pa_tag; @@ -339,15 +339,15 @@ */ dict = device_properties(self); if (!prop_dictionary_get_uint32(dict, "width", &sc->sc_width)) { - aprint_error("%s: no width property\n", device_xname(self)); + defmode = 1; sc->sc_width = 1024; } if (!prop_dictionary_get_uint32(dict, "height", &sc->sc_height)) { - aprint_error("%s: no height property\n", device_xname(self)); + defmode = 1; sc->sc_height = 768; } if (!prop_dictionary_get_uint32(dict, "depth", &sc->sc_depth)) { - aprint_error("%s: no depth property\n", device_xname(self)); + defmode = 1; sc->sc_depth = 8; } @@ -375,6 +375,8 @@ */ aprint_normal("%s: %d MB aperture at 0x%08x\n", device_xname(self), (int)(sc->sc_fbsize >> 20), (uint32_t)sc->sc_fb); + if (defmode) + aprint_normal("%s: using default mode\n", device_xname(self)); sc->sc_defaultscreen_descr = (struct wsscreen_descr){ "default",