diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 0cf7304018f..514630e0904 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