Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/dev/ic Pull up following revision(s) (requested by ma...



details:   https://anonhg.NetBSD.org/src/rev/7d7eb2c2b64d
branches:  netbsd-8
changeset: 851277:7d7eb2c2b64d
user:      snj <snj%NetBSD.org@localhost>
date:      Sat Jan 13 04:44:29 2018 +0000

description:
Pull up following revision(s) (requested by martin in ticket #456):
        sys/dev/ic/dwc_gmac.c: 1.45
Don't KASSERT that we are MPSAFE if ! DWCGMAC_MPSAFE

diffstat:

 sys/dev/ic/dwc_gmac.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r d301f4268ee8 -r 7d7eb2c2b64d sys/dev/ic/dwc_gmac.c
--- a/sys/dev/ic/dwc_gmac.c     Tue Jan 09 19:39:51 2018 +0000
+++ b/sys/dev/ic/dwc_gmac.c     Sat Jan 13 04:44:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.40.6.2 2018/01/02 10:20:32 snj Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.40.6.3 2018/01/13 04:44:29 snj 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.40.6.2 2018/01/02 10:20:32 snj Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.40.6.3 2018/01/13 04:44:29 snj Exp $");
 
 /* #define     DWC_GMAC_DEBUG  1 */
 
@@ -838,7 +838,9 @@
 dwc_gmac_start(struct ifnet *ifp)
 {
        struct dwc_gmac_softc *sc = ifp->if_softc;
+#ifdef DWCGMAC_MPSAFE
        KASSERT(if_is_mpsafe(ifp));
+#endif
 
        mutex_enter(sc->sc_lock);
        if (!sc->sc_stopping) {



Home | Main Index | Thread Index | Old Index