Author: yongari
Date: Mon Oct 13 01:06:40 2014
New Revision: 273018
URL: https://svnweb.freebsd.org/changeset/base/273018

Log:
  Remove ALC_LOCK_ASSERT in alc_stop_queue().  This function is now
  called in device attach without holding a driver lock so it
  resulted in panic.
  
  Reported by:  markj

Modified:
  head/sys/dev/alc/if_alc.c

Modified: head/sys/dev/alc/if_alc.c
==============================================================================
--- head/sys/dev/alc/if_alc.c   Mon Oct 13 00:33:59 2014        (r273017)
+++ head/sys/dev/alc/if_alc.c   Mon Oct 13 01:06:40 2014        (r273018)
@@ -4394,8 +4394,6 @@ alc_stop_queue(struct alc_softc *sc)
        uint32_t reg;
        int i;
 
-       ALC_LOCK_ASSERT(sc);
-
        /* Disable RxQ. */
        reg = CSR_READ_4(sc, ALC_RXQ_CFG);
        if ((sc->alc_flags & ALC_FLAG_AR816X_FAMILY) == 0) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to