summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2004-10-25 22:30:04 +0000
committerdlg <dlg@openbsd.org>2004-10-25 22:30:04 +0000
commitc8ad0228ac673bfafaa4ebaa1e87f203d16d0dca (patch)
treecb3b422656eef97340ac793e3f72d173c8a52f8f
parentdescribe R type; found by matthieu@ (diff)
downloadwireguard-openbsd-c8ad0228ac673bfafaa4ebaa1e87f203d16d0dca.tar.xz
wireguard-openbsd-c8ad0228ac673bfafaa4ebaa1e87f203d16d0dca.zip
add EHCI_QTD_SET_STATUS
from NetBSD
-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