Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nvidia IST_MPSAFE is not a valid flag for fdtbu...



details:   https://anonhg.NetBSD.org/src/rev/71c2b90d5c50
branches:  trunk
changeset: 345381:71c2b90d5c50
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon May 23 18:21:14 2016 +0000

description:
IST_MPSAFE is not a valid flag for fdtbus_intr_establish; use
FDT_INTR_MPSAFE instead.

diffstat:

 sys/arch/arm/nvidia/tegra_ehci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 5e51c5e5e3e1 -r 71c2b90d5c50 sys/arch/arm/nvidia/tegra_ehci.c
--- a/sys/arch/arm/nvidia/tegra_ehci.c  Mon May 23 13:54:34 2016 +0000
+++ b/sys/arch/arm/nvidia/tegra_ehci.c  Mon May 23 18:21:14 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_ehci.c,v 1.13 2016/04/23 10:15:28 skrll Exp $ */
+/* $NetBSD: tegra_ehci.c,v 1.14 2016/05/23 18:21:14 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_ehci.c,v 1.13 2016/04/23 10:15:28 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_ehci.c,v 1.14 2016/05/23 18:21:14 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -126,8 +126,8 @@
                return;
        }
 
-       sc->sc_ih = fdtbus_intr_establish(faa->faa_phandle, 0, IPL_USB, IST_MPSAFE,
-           ehci_intr, &sc->sc);
+       sc->sc_ih = fdtbus_intr_establish(faa->faa_phandle, 0, IPL_USB,
+           FDT_INTR_MPSAFE, ehci_intr, &sc->sc);
        if (sc->sc_ih == NULL) {
                aprint_error_dev(self, "couldn't establish interrupt on %s\n",
                    intrstr);



Home | Main Index | Thread Index | Old Index