Module Name: src Committed By: mlelstv Date: Mon Mar 8 13:15:06 UTC 2021
Modified Files: src/sys/dev/fdt: genet_fdt.c Log Message: Interrupt no longer needs kernel lock. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/fdt/genet_fdt.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/dev/fdt/genet_fdt.c diff -u src/sys/dev/fdt/genet_fdt.c:1.4 src/sys/dev/fdt/genet_fdt.c:1.5 --- src/sys/dev/fdt/genet_fdt.c:1.4 Wed Jan 27 03:10:21 2021 +++ src/sys/dev/fdt/genet_fdt.c Mon Mar 8 13:15:06 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: genet_fdt.c,v 1.4 2021/01/27 03:10:21 thorpej Exp $ */ +/* $NetBSD: genet_fdt.c,v 1.5 2021/03/08 13:15:06 mlelstv Exp $ */ /*- * Copyright (c) 2020 Jared McNeill <jmcne...@invisible.ca> @@ -29,7 +29,7 @@ #include "opt_net_mpsafe.h" #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: genet_fdt.c,v 1.4 2021/01/27 03:10:21 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: genet_fdt.c,v 1.5 2021/03/08 13:15:06 mlelstv Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -126,7 +126,7 @@ genet_fdt_attach(device_t parent, device if (genet_attach(sc) != 0) return; - ih = fdtbus_intr_establish_xname(phandle, 0, IPL_NET, FDT_INTR_FLAGS, + ih = fdtbus_intr_establish_xname(phandle, 0, IPL_NET, FDT_INTR_MPSAFE, genet_intr, sc, device_xname(self)); if (ih == NULL) { aprint_error_dev(self, "couldn't establish interrupt on %s\n",