Module Name:    src
Committed By:   jmcneill
Date:           Sun Jun 23 16:15:43 UTC 2019

Modified Files:
        src/sys/arch/arm/rockchip: rk3399_pcie.c

Log Message:
Enable MSI and MSI-X


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/rockchip/rk3399_pcie.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/rockchip/rk3399_pcie.c
diff -u src/sys/arch/arm/rockchip/rk3399_pcie.c:1.5 src/sys/arch/arm/rockchip/rk3399_pcie.c:1.6
--- src/sys/arch/arm/rockchip/rk3399_pcie.c:1.5	Wed Jun 19 05:33:14 2019
+++ src/sys/arch/arm/rockchip/rk3399_pcie.c	Sun Jun 23 16:15:43 2019
@@ -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 <kette...@openbsd.org>
  *
@@ -17,7 +17,7 @@
 
 #include <sys/cdefs.h>
 
-__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 <sys/param.h>
 #include <sys/systm.h>
@@ -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;

Reply via email to