diff options
-rw-r--r-- | sys/dev/fdt/dwpcie.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/fdt/dwpcie.c b/sys/dev/fdt/dwpcie.c index ef4cff366af..7e6a075d404 100644 --- a/sys/dev/fdt/dwpcie.c +++ b/sys/dev/fdt/dwpcie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwpcie.c,v 1.54 2024/07/02 19:44:37 patrick Exp $ */ +/* $OpenBSD: dwpcie.c,v 1.55 2024/07/05 22:52:25 patrick Exp $ */ /* * Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org> * @@ -1505,6 +1505,9 @@ dwpcie_sc8280xp_init(struct dwpcie_softc *sc) { sc->sc_num_viewport = 8; + if (OF_getproplen(sc->sc_node, "msi-map") <= 0) + return dwpcie_msi_init(sc); + return 0; } |