diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2024-02-26 21:41:25 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2024-02-26 21:41:25 +0000 |
commit | ff580cb71638758c47216651ae226d23c71aefd2 (patch) | |
tree | 0aa6b74c2585d7cc07ea851c3d328604c1dd7909 /sys | |
parent | 7d71bafcdf0beba193e593aea2a775f24de297df (diff) |
Enable MSIs on RK3588. We have a U-Boot package with device trees that
work now.
ok patrick@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fdt/dwpcie.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/fdt/dwpcie.c b/sys/dev/fdt/dwpcie.c index df11a4c04c5..278d48c8595 100644 --- a/sys/dev/fdt/dwpcie.c +++ b/sys/dev/fdt/dwpcie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwpcie.c,v 1.51 2024/02/03 10:37:26 kettenis Exp $ */ +/* $OpenBSD: dwpcie.c,v 1.52 2024/02/26 21:41:24 kettenis Exp $ */ /* * Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org> * @@ -733,10 +733,6 @@ dwpcie_attach_deferred(struct device *self) if (OF_getproplen(sc->sc_node, "msi-map") > 0) pba.pba_flags |= PCI_FLAGS_MSIVEC_ENABLED; - /* XXX No working MSI on RK3588 yet. */ - if (OF_is_compatible(sc->sc_node, "rockchip,rk3588-pcie")) - pba.pba_flags &= ~PCI_FLAGS_MSI_ENABLED; - pci_dopm = 1; config_found(self, &pba, NULL); |