summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-05-17 22:20:54 +0000
committerjhb <jhb@FreeBSD.org>2001-05-17 22:20:54 +0000
commitfbaf605e32cb99697d53090d26bd612fd736f484 (patch)
tree1aa8e46fa02e193b122591f26fd8022ac3376a33 /sys
parent51497c8b5faffba80597b6c66dd23a94dfae30fe (diff)
downloadFreeBSD-src-fbaf605e32cb99697d53090d26bd612fd736f484.zip
FreeBSD-src-fbaf605e32cb99697d53090d26bd612fd736f484.tar.gz
Disable the wi driver locking for now. The driver tries to tsleep with the
driver lock held on detach which can lead to annoying and useless panics.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wi/if_wireg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wi/if_wireg.h b/sys/dev/wi/if_wireg.h
index 7166391..6b0dbfa 100644
--- a/sys/dev/wi/if_wireg.h
+++ b/sys/dev/wi/if_wireg.h
@@ -134,8 +134,8 @@ struct wi_softc {
int wi_prism2; /* set to 1 if it uses a Prism II chip */
};
-#define WI_LOCK(_sc) mtx_lock(&(_sc)->wi_mtx)
-#define WI_UNLOCK(_sc) mtx_unlock(&(_sc)->wi_mtx)
+#define WI_LOCK(_sc)
+#define WI_UNLOCK(_sc)
#define WI_TIMEOUT 65536
OpenPOWER on IntegriCloud