diff options
Diffstat (limited to 'sys/dev/usb/usb.h')
| -rw-r--r-- | sys/dev/usb/usb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 0cf7304018f4..514630e0904f 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -228,7 +228,8 @@ typedef struct { #define UE_OUT 0x00 #define UE_ADDR 0x0f #define UE_GET_ADDR(a) ((a) & UE_ADDR) -#define UE_GET_IN(a) (((a) >> 7) & 1) +#define UE_GET_IN(a) (((a) >> 7) & 1) /* XXX should be removed */ +#define UE_GET_DIR(a) ((a) & UE_DIR) uByte bmAttributes; #define UE_XFERTYPE 0x03 #define UE_CONTROL 0x00 |
