Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Interrupt no longer needs kernel lock.
details: https://anonhg.NetBSD.org/src/rev/85ba63b31dfa
branches: trunk
changeset: 953406:85ba63b31dfa
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Mon Mar 08 13:15:06 2021 +0000
description:
Interrupt no longer needs kernel lock.
diffstat:
sys/dev/fdt/genet_fdt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 79eb95fe7f02 -r 85ba63b31dfa sys/dev/fdt/genet_fdt.c
--- a/sys/dev/fdt/genet_fdt.c Mon Mar 08 13:14:44 2021 +0000
+++ b/sys/dev/fdt/genet_fdt.c Mon Mar 08 13:15:06 2021 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
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",
Home |
Main Index |
Thread Index |
Old Index