From e7491a16adbd1e122203b38bce7423fe40beb51c Mon Sep 17 00:00:00 2001 From: yongari Date: Mon, 13 Oct 2014 01:06:40 +0000 Subject: 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 --- sys/dev/alc/if_alc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/alc') diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c index 6fed142..2db8675 100644 --- a/sys/dev/alc/if_alc.c +++ b/sys/dev/alc/if_alc.c @@ -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) { -- cgit v1.1