diff options
author | Pyun YongHyeon <yongari@FreeBSD.org> | 2014-10-13 01:06:40 +0000 |
---|---|---|
committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2014-10-13 01:06:40 +0000 |
commit | 416f6852e3161aa5d9dc6262695bbe695763fab8 (patch) | |
tree | 0340622387abce15f097bf6207a380031fcbd5a5 /sys/dev/alc/if_alc.c | |
parent | b081e68c536fb1a6aa2a354b4b020d5e0b947224 (diff) | |
download | src-416f6852e3161aa5d9dc6262695bbe695763fab8.tar.gz src-416f6852e3161aa5d9dc6262695bbe695763fab8.zip |
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
Notes
Notes:
svn path=/head/; revision=273018
Diffstat (limited to 'sys/dev/alc/if_alc.c')
-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 6fed1423c21e..2db8675b6cca 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) { |