summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ohci.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-06-29 13:48:32 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-06-29 13:48:32 +0000
commit7655c3541cd6bea7899eb9dfb91a41973a0c9ad2 (patch)
tree49696289bba6af8697c2fe8ffab14002a3c8ae0b /sys/dev/usb/ohci.c
parenteedb8290a14cc6a97b28c7e329d56f4861468187 (diff)
Allow USB to compile with USB_DEBUG defined; binkertn@umich.edu
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r--sys/dev/usb/ohci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 8367d6b9d9e..549f3fc6bf1 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohci.c,v 1.11 2000/04/01 19:11:35 aaron Exp $ */
+/* $OpenBSD: ohci.c,v 1.12 2000/06/29 13:48:31 aaron Exp $ */
/* $NetBSD: ohci.c,v 1.85 2000/04/01 09:27:35 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */
@@ -106,9 +106,13 @@ int ohcidebug = 0;
#if BYTE_ORDER == BIG_ENDIAN
#define htole32(x) (bswap32(x))
#define le32toh(x) (bswap32(x))
+#define htole16(x) (bswap16(x))
+#define le16toh(x) (bswap16(x))
#else
#define htole32(x) (x)
#define le32toh(x) (x)
+#define htole16(x) (x)
+#define le16toh(x) (x)
#endif
#endif