diff options
author | yongari <yongari@FreeBSD.org> | 2014-10-13 01:06:40 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2014-10-13 01:06:40 +0000 |
commit | e7491a16adbd1e122203b38bce7423fe40beb51c (patch) | |
tree | 0340622387abce15f097bf6207a380031fcbd5a5 | |
parent | a53fdcf816a269f780e6ef16e2aed22208331072 (diff) | |
download | FreeBSD-src-e7491a16adbd1e122203b38bce7423fe40beb51c.zip FreeBSD-src-e7491a16adbd1e122203b38bce7423fe40beb51c.tar.gz |
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
-rw-r--r-- | sys/dev/alc/if_alc.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) { |