aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/asr/osd_util.h
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-05-14 21:59:10 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-05-14 21:59:10 +0000
commitd93389d676c34ab28aa75b3bbc4cd9a8b5dc86e5 (patch)
tree57b8955d2f47963c9ef15823f16dbf04180662ea /sys/dev/asr/osd_util.h
parent5d340b7ec177e786991d93e1f558d8c0f0812f21 (diff)
Notes
Diffstat (limited to 'sys/dev/asr/osd_util.h')
-rw-r--r--sys/dev/asr/osd_util.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/asr/osd_util.h b/sys/dev/asr/osd_util.h
index 0f2b6eaa2a2f2..ff2f589262773 100644
--- a/sys/dev/asr/osd_util.h
+++ b/sys/dev/asr/osd_util.h
@@ -262,7 +262,7 @@
* We will enclose all structure *
* portability modifications inside *
* #ifdefs. When we are ready, we *
- * will #define DPT_PORTABLE to begin *
+ * will #define DPT_PORTABLE to begin *
* using the modifications. *
*-------------------------------------*/
uLONG netSwap4(uLONG val);
@@ -272,11 +272,11 @@ uLONG netSwap4(uLONG val);
/* for big-endian we need to swap */
#ifndef NET_SWAP_2
-#define NET_SWAP_2(x) (((x) >> 8) | ((x) << 8))
+#define NET_SWAP_2(x) (((x) >> 8) | ((x) << 8))
#endif /* NET_SWAP_2 */
#ifndef NET_SWAP_4
-#define NET_SWAP_4(x) netSwap4((x))
+#define NET_SWAP_4(x) netSwap4((x))
#endif /* NET_SWAP_4 */
#else
@@ -284,11 +284,11 @@ uLONG netSwap4(uLONG val);
/* for little-endian we don't need to do anything */
#ifndef NET_SWAP_2
-#define NET_SWAP_2(x) (x)
+#define NET_SWAP_2(x) (x)
#endif /* NET_SWAP_2 */
#ifndef NET_SWAP_4
-#define NET_SWAP_4(x) (x)
+#define NET_SWAP_4(x) (x)
#endif /* NET_SWAP_4 */
#endif /* big endian */
@@ -352,9 +352,9 @@ void osdWakeThread(uLONG);
/* osd sleep for x miliseconds */
void osdSleep(uLONG);
-#define DPT_THREAD_PRIORITY_LOWEST 0x00
-#define DPT_THREAD_PRIORITY_NORMAL 0x01
-#define DPT_THREAD_PRIORITY_HIGHEST 0x02
+#define DPT_THREAD_PRIORITY_LOWEST 0x00
+#define DPT_THREAD_PRIORITY_NORMAL 0x01
+#define DPT_THREAD_PRIORITY_HIGHEST 0x02
uCHAR osdSetThreadPriority(uLONG tid, uCHAR priority);