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.
This commit is contained in:
jhb 2001-05-17 22:20:54 +00:00
parent 904f1223c9
commit 37fb740bae

View File

@ -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