From 0bf852535418d48950bb2805946653b585cf1b4c Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Mon, 3 May 1999 23:18:11 +0000 Subject: [PATCH] Replace UE_GET_IN with UE_GET_DIR --- sys/dev/usb/usb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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