aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-02-27 01:05:25 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-02-27 01:05:25 +0000
commit003223c276c5d434b8f36f87850f8ba586e21188 (patch)
tree63982939f9a2a1da8fa966e0122261233a162f57
parent0b7088c4d0ebff6906c53dfb22ad8b1d673461a1 (diff)
Notes
-rw-r--r--sys/dev/usb/if_auereg.h5
-rw-r--r--sys/dev/usb/if_cuereg.h5
-rw-r--r--sys/dev/usb/if_kuereg.h5
3 files changed, 15 insertions, 0 deletions
diff --git a/sys/dev/usb/if_auereg.h b/sys/dev/usb/if_auereg.h
index 554409105c10..28ebf7a2fb06 100644
--- a/sys/dev/usb/if_auereg.h
+++ b/sys/dev/usb/if_auereg.h
@@ -249,8 +249,13 @@ struct aue_softc {
struct mtx aue_mtx;
};
+#if 0
#define AUE_LOCK(_sc) mtx_lock(&(_sc)->aue_mtx)
#define AUE_UNLOCK(_sc) mtx_unlock(&(_sc)->aue_mtx)
+#else
+#define AUE_LOCK(_sc)
+#define AUE_UNLOCK(_sc)
+#endif
#define AUE_TIMEOUT 1000
#define ETHER_ALIGN 2
diff --git a/sys/dev/usb/if_cuereg.h b/sys/dev/usb/if_cuereg.h
index dc7b8c8fbc9a..3e3e1b6b485a 100644
--- a/sys/dev/usb/if_cuereg.h
+++ b/sys/dev/usb/if_cuereg.h
@@ -182,5 +182,10 @@ struct cue_softc {
struct mtx cue_mtx;
};
+#if 0
#define CUE_LOCK(_sc) mtx_lock(&(_sc)->cue_mtx)
#define CUE_UNLOCK(_sc) mtx_unlock(&(_sc)->cue_mtx)
+#else
+#define CUE_LOCK(_sc)
+#define CUE_UNLOCK(_sc)
+#endif
diff --git a/sys/dev/usb/if_kuereg.h b/sys/dev/usb/if_kuereg.h
index b5ffb32a157f..9dac6861c35f 100644
--- a/sys/dev/usb/if_kuereg.h
+++ b/sys/dev/usb/if_kuereg.h
@@ -173,5 +173,10 @@ struct kue_softc {
struct mtx kue_mtx;
};
+#if 0
#define KUE_LOCK(_sc) mtx_lock(&(_sc)->kue_mtx)
#define KUE_UNLOCK(_sc) mtx_unlock(&(_sc)->kue_mtx)
+#else
+#define KUE_LOCK(_sc)
+#define KUE_UNLOCK(_sc)
+#endif