summaryrefslogtreecommitdiffstats
path: root/sys/dev/alc
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2014-10-13 01:06:40 +0000
committeryongari <yongari@FreeBSD.org>2014-10-13 01:06:40 +0000
commite7491a16adbd1e122203b38bce7423fe40beb51c (patch)
tree0340622387abce15f097bf6207a380031fcbd5a5 /sys/dev/alc
parenta53fdcf816a269f780e6ef16e2aed22208331072 (diff)
downloadFreeBSD-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
Diffstat (limited to 'sys/dev/alc')
-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 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) {
OpenPOWER on IntegriCloud