aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/alc/if_alc.c
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2014-10-13 01:06:40 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2014-10-13 01:06:40 +0000
commit416f6852e3161aa5d9dc6262695bbe695763fab8 (patch)
tree0340622387abce15f097bf6207a380031fcbd5a5 /sys/dev/alc/if_alc.c
parentb081e68c536fb1a6aa2a354b4b020d5e0b947224 (diff)
downloadsrc-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.c2
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) {