Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/rockchip Enable MSI and MSI-X



details:   https://anonhg.NetBSD.org/src/rev/f1b3e59f8f80
branches:  trunk
changeset: 842293:f1b3e59f8f80
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jun 23 16:15:43 2019 +0000

description:
Enable MSI and MSI-X

diffstat:

 sys/arch/arm/rockchip/rk3399_pcie.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r e1572e1ec8e2 -r f1b3e59f8f80 sys/arch/arm/rockchip/rk3399_pcie.c
--- a/sys/arch/arm/rockchip/rk3399_pcie.c       Sun Jun 23 16:04:52 2019 +0000
+++ b/sys/arch/arm/rockchip/rk3399_pcie.c       Sun Jun 23 16:15:43 2019 +0000
@@ -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 <kettenis%openbsd.org@localhost>
  *
@@ -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 @@
                    &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;



Home | Main Index | Thread Index | Old Index