From f79afc7658cac84aefb9b7b63f573bb974eaf66b Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sun, 23 Jun 2019 16:15:43 +0000 Subject: [PATCH] Enable MSI and MSI-X --- sys/arch/arm/rockchip/rk3399_pcie.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/arch/arm/rockchip/rk3399_pcie.c b/sys/arch/arm/rockchip/rk3399_pcie.c index f2d30f56785b..915d67557db7 100644 --- a/sys/arch/arm/rockchip/rk3399_pcie.c +++ b/sys/arch/arm/rockchip/rk3399_pcie.c @@ -1,4 +1,4 @@ -/* $NetBSD: rk3399_pcie.c,v 1.5 2019/06/19 05:33:14 mrg Exp $ */ +/* $NetBSD: rk3399_pcie.c,v 1.6 2019/06/23 16:15:43 jmcneill Exp $ */ /* * Copyright (c) 2018 Mark Kettenis * @@ -17,7 +17,7 @@ #include -__KERNEL_RCSID(1, "$NetBSD: rk3399_pcie.c,v 1.5 2019/06/19 05:33:14 mrg Exp $"); +__KERNEL_RCSID(1, "$NetBSD: rk3399_pcie.c,v 1.6 2019/06/23 16:15:43 jmcneill Exp $"); #include #include @@ -392,9 +392,8 @@ again: &rkpcie_intrfuncs); sc->sc_phsc.sc_type = PCIHOST_ECAM; -#if notyet sc->sc_phsc.sc_pci_flags |= PCI_FLAGS_MSI_OKAY; -#endif + sc->sc_phsc.sc_pci_flags |= PCI_FLAGS_MSIX_OKAY; pcihost_init(&sc->sc_phsc.sc_pc, sc); sc->sc_phsc.sc_pc.pc_bus_maxdevs = rkpcie_bus_maxdevs; sc->sc_phsc.sc_pc.pc_make_tag = rkpcie_make_tag;