diff options
author | 2004-10-25 22:30:04 +0000 | |
---|---|---|
committer | 2004-10-25 22:30:04 +0000 | |
commit | c8ad0228ac673bfafaa4ebaa1e87f203d16d0dca (patch) | |
tree | cb3b422656eef97340ac793e3f72d173c8a52f8f | |
parent | describe R type; found by matthieu@ (diff) | |
download | wireguard-openbsd-c8ad0228ac673bfafaa4ebaa1e87f203d16d0dca.tar.xz wireguard-openbsd-c8ad0228ac673bfafaa4ebaa1e87f203d16d0dca.zip |
add EHCI_QTD_SET_STATUS
from NetBSD
-rw-r--r-- | sys/dev/usb/ehcireg.h | 3 |
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 |