summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2004-10-25 22:30:05 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2004-10-25 22:30:05 +0000
commit8ddc001e1e39804dc0856af0447f1a165f6e3f45 (patch)
treee10a470e51ecf4b65ed759f8f4c971203cad2689 /sys
parentc275be45cd8f1c6a31206eadd7fb94a98be7005f (diff)
add EHCI_QTD_SET_STATUS
from NetBSD
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ehcireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/ehcireg.h b/sys/dev/usb/ehcireg.h
index c230d3fc660..3be89651e7b 100644
--- a/sys/dev/usb/ehcireg.h
+++ b/sys/dev/usb/ehcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehcireg.h,v 1.10 2004/08/11 06:57:42 dlg Exp $ */
+/* $OpenBSD: ehcireg.h,v 1.11 2004/10/25 22:30:04 dlg Exp $ */
/* $NetBSD: ehcireg.h,v 1.17 2004/06/23 06:45:56 mycroft Exp $ */
/*
@@ -282,6 +282,7 @@ typedef struct {
ehci_link_t qtd_altnext;
u_int32_t qtd_status;
#define EHCI_QTD_GET_STATUS(x) (((x) >> 0) & 0xff)
+#define EHCI_QTD_SET_STATUS(x) ((x) << 0)
#define EHCI_QTD_ACTIVE 0x80
#define EHCI_QTD_HALTED 0x40
#define EHCI_QTD_BUFERR 0x20