Module Name:    src
Committed By:   jmcneill
Date:           Mon May 23 18:21:14 UTC 2016

Modified Files:
        src/sys/arch/arm/nvidia: tegra_ehci.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/nvidia/tegra_ehci.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/nvidia/tegra_ehci.c
diff -u src/sys/arch/arm/nvidia/tegra_ehci.c:1.13 src/sys/arch/arm/nvidia/tegra_ehci.c:1.14
--- src/sys/arch/arm/nvidia/tegra_ehci.c:1.13	Sat Apr 23 10:15:28 2016
+++ src/sys/arch/arm/nvidia/tegra_ehci.c	Mon May 23 18:21:14 2016
@@ -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 <jmcne...@invisible.ca>
@@ -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 @@ tegra_ehci_attach(device_t parent, devic
 		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);

Reply via email to