Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/ic Fix locking botch
details: https://anonhg.NetBSD.org/src/rev/27d6ecca37eb
branches: nick-nhusb
changeset: 334524:27d6ecca37eb
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Jun 12 08:33:29 2016 +0000
description:
Fix locking botch
diffstat:
sys/dev/ic/dwc_gmac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 89a687394265 -r 27d6ecca37eb sys/dev/ic/dwc_gmac.c
--- a/sys/dev/ic/dwc_gmac.c Sun Jun 12 07:18:52 2016 +0000
+++ b/sys/dev/ic/dwc_gmac.c Sun Jun 12 08:33:29 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.28.2.4 2016/06/12 07:18:52 skrll Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.28.2.5 2016/06/12 08:33:29 skrll Exp $ */
/*-
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.28.2.4 2016/06/12 07:18:52 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.28.2.5 2016/06/12 08:33:29 skrll Exp $");
/* #define DWC_GMAC_DEBUG 1 */
@@ -765,7 +765,7 @@
if (ifp->if_flags & IFF_RUNNING)
return 0;
- dwc_gmac_stop(ifp, 0);
+ dwc_gmac_stop_locked(ifp, 0);
/*
* Configure DMA burst/transfer mode and RX/TX priorities.
Home |
Main Index |
Thread Index |
Old Index